Variables

From Bohemia Interactive Community
Revision as of 16:43, 15 April 2006 by Bedges (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.