isNil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 31: Line 31:
[[Category:Scripting Commands|ISNIL]]
[[Category:Scripting Commands|ISNIL]]
[[Category:Scripting Commands ArmA|ISNIL]]
[[Category:Scripting Commands ArmA|ISNIL]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]]

Revision as of 00:44, 6 May 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Tests whether the variable is null. The function returns true if the variable is null and false if it's not.
Groups:
Uncategorised

Syntax

Syntax:
isnil variable
Parameters:
variable: String or Code
Return Value:
Boolean

Examples

Example 1:
if (isnil ("_pokus")) then {_pokus=0;}

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section