CodeWorker



Changes on version 3.8
Date Type Caller Description
22aug2004 improvement - Now, the function scanFiles() accepts a path in the short filename pattern.

Example:

scanFiles(dir, "project/examples", "src/*.cpp", true)


will filter:

"project/examples/airplanes/src/*.cpp"
"project/examples/boats/yacht/src/*.cpp"
"project/examples/bicycles/src/*.cpp"

15aug2004 bug_fix - The native C++ translation of CodeWorker‘s scripts has been corrected on some features:
  • the BNF directive #skipIgnore,
  • the BNF binary operator ‘|>‘,
14aug2004 improvement - A new format type was added to the function completeDate: ‘%|‘. Once the date has been iterated up to the end, if the format wasn‘t applied on it completely, an error occurs, except if ‘%|‘ stands at the current position in the format.
14aug2004 feature - The statement exit was added, for exiting CodeWorker with an error code. It expects an integer expression, for determining the value of the error code that the interpreter will have to return to the system.
14aug2004 feature - The new predefined BNF directive #readUptoIgnore was added. It reads all characters up to encountering the first insignificant one. Insignificant characters are those to ignore between BNF terminal matchings, and specified thanks to the directive #ignore.
10aug2004 improvement - Now, the native C++ translation of CodeWorker‘s scripts generates a GNU makefile of the project.
08aug2004 deprecated - The functions getInputLocation() and setInputLocation() replace the respective obsolete getLocation() and setLocation() writings.
07aug2004 bug_fix - The native C++ translation of CodeWorker‘s scripts has been corrected on some features:
  • initialization of predefined global variables (_ARGS and _REQUEST),
  • C++ writing of variable expressions in general,
  • implicit copy in a translation script,
07aug2004 bug_fix - The date conversion of a two-digits year to a four-digit one was erroneous in the function formatDate().