General

Comments
All script lines that start with the # character are ignored and not executed.

Variables
The variables in Easy Control scripts are untyped. The casting between strings and numbers is automatic, based on the context they are used. To create a new variable just use an assignment, like this:
newvar="a string"
or
newvar=2+3

Scope of variables
All variables are available through the life of a script, that is, from the start of the parsing and executing the file until the end of file is reached.

Operators
Math :
+, - ,*, /
Math was implemented for maximum simplicity. Type casting is performed automatically. For example, "12.5"/2 and 12.5/2 will give same result, 6.25. This made calculation of the formulas not very reliable. Test your formulas before using them in critical applications.

String :
& concatenate strings

Logical operators :
&& and
|| or
== equal
<> different
>> bigger
<< smaller
>= bigger or equal
<= smaller or equal


Generated on Wed Dec 3 10:18:42 2003 for Easy Control