isNil: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 27: | Line 27: | ||
'''Example''' | '''Example''' | ||
if ('''isnil'''("_pokus")) then {_pokus=0;} | if ('''isnil''' ("_pokus")) then {_pokus=0;} |
mNo edit summary |
mNo edit summary |
||
Line 27: | Line 27: | ||
'''Example''' | '''Example''' | ||
if ('''isnil'''("_pokus")) then {_pokus=0;} | if ('''isnil''' ("_pokus")) then {_pokus=0;} |
Operand types:
Type of returned value:
Compatibility:
Version 2.00 required
Description:
Tests whether the variable is null.
The function returns true if the variable is null and false if it's not.
Example
if (isnil ("_pokus")) then {_pokus=0;}