Variables

From Bohemia Interactive Community
Revision as of 04:55, 20 April 2006 by Fragorl (talk | contribs)
Jump to navigation Jump to search

Template:merge

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 uninitialised by assigning it nil value.
This effectively destroys variable as if it never existed.