Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variables can be used to reuse certain values. MostlyIn most cases, they are moved to the top of a file so that they become more clearlyvisible. A variable can be created by using #DEFINE and be removed by using #UNDEF. If a variable should be calculated out of from other variables (or constants), #EVAL can be used. To access a varibalevariable, the user has to write $ ${....}. The existence of a variable (if it is created or not) can be checked with #IFDEF. The value of a variable can be printed by using #PRINT (into the console). The following example shows three variables: an integer called "currentid" that has the value "50", a variable named "path", which has the value "F:/odysseus/example/" and a calculated variable "maxid".

...