Variables

From Bohemia Interactive Community
Revision as of 23:23, 19 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

Description:

Variables must be initialised before being used.

When any uninitialized variable is detected in any expression, the whole expression results in nil (undefined value).
When undefined value is encountered in field where boolean value is expected, it is converted to false.

Variable may be unitialised by assigning it nil value.
This effectively destroys variable as if it never existed.