isNil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ISNILL]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|ISNILL]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">''' isnill ''variable'''''</h2>
|2.00|= Game version
____________________________________________________________________________________________


| 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;} |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''isnill''' variable |= Syntax


'''variable:''' [[String]] or [[Code]]
|p1= variable: [[String]] |= Parameter 1


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Compatibility:'''
}}


Version 2.00 required
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Tests whether the variable is null.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|ISNIL]]
The function returns true if the variable is null and false if it's not.
[[Category:Scripting Commands ArmA|ISNIL]]
 
 
'''Example'''
 
if ('''isnil''' ("_pokus")) then {_pokus=0;}

Revision as of 01:38, 2 August 2006

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

Description

Description:
isnill variable
Groups:
Uncategorised

Syntax

Syntax:
Boolean
Parameters:
variable: String
Return Value:
Return value needed

Examples

Examples:
Example needed

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