1. Code Beautifier

See the home/news page for a download link to get a source-code beautifier.

Thanks to JM Duro.


I patched beautifier.ex

include std/text.e 
include std/io.e 
include std/filesys.e 
include std/sequence.e 
include std/search.e 
include std/error.e 
include myLibs/myDebug.e 
--include myLibs/common.e          --//REMOVE 
include tin/tinEWG.ew 
include tin/kisTinEWG.e 
 
-------------------tom patches 
 
--//ADD 
 
public function commonField(sequence sht, integer fld, object val, integer start=1) 
-- lists records from sheet sht with value val in field fld 
  sequence res 
 
  if fld = 0 then return {} end if 
  res = {} 
  for i = start to length(sht) do 
    if equal(sht[i][fld], val) then 
      res = append(res, i) 
    end if 
  end for 
  return res 
end function 
 
-- original code follows... 

It's just a minor problem because include myLibs/common.e assumes that wind32lib is installed.

Nice app.

_tom

new topic     » topic index » view message » categorize

2. Re: Code Beautifier

Thank you Tom,

As I use both Win32LIB and tinEWG, I have many versions of my libraries.

Regards

Jean-Marc

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu