ViewVC logotype

Revision 298

Jump to revision: Previous Next
Author: tomek
Date: Mon Jul 19 23:07:00 2010 UTC (12 years, 6 months ago)
Changed paths: 2
Log Message:
functions can have more than one parameter and the parameters can be used in [if...] statements too

[normal_function "par1" "par2" "par3"]
[if-one function "par1" "par2" "par3"]...[end]

each function can have its own parameters:
[if-one function1 "par1" "par2" "par3" function2 "par" "par2"]...[end]

[is] is now [if] (not exactly but very similar)
[is-no] is now [if-no] (the same)

[if] and [if-no] are taking one function (with or without arguments)
[if function]...[end]
[if function "par1"]...[end]
[if function "par1" "par2" "par3" "par4"]...[end]

[is] is taking two functions now and evaluates them to boolean value
(variables are also evaluated to boolean - if not empty that means true)

[is function1 function2]...[end]
[is variable1 variable2] either variable1 and variable2 are empty or both are not empty
(they don't have to be equal)[end]

[if-any-no fun1 fun2 fun3] the three functions have to return false [end] 
[if-one-no fun1 fun2 fun3] one the the three functions have to return false [end]

extracting the unix directory from the file name (in patterns)
you have to call Pattern::Directory() method first to set directories

Changed paths

Path Details
Directoryezc/trunk/src/ezc.cpp modified , text changed
Directoryezc/trunk/src/ezc.h modified , text changed

ViewVC Help
Powered by ViewVC 1.2.1