nil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 19: Line 19:
[[hint]] [[format]] ["Variable = %1", _variable]; {{codecomment|// will display "Variable {{=}} any" ({{arma3}})}}</code>
[[hint]] [[format]] ["Variable = %1", _variable]; {{codecomment|// will display "Variable {{=}} any" ({{arma3}})}}</code>


| [[isNil]], [[Variables]]
|seealso= [[isNil]], [[Variables]]
}}
}}



Revision as of 23:53, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Variables

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
variableToDestroy = nil;
Example 2:
private _variable = 50; _variable = nil; hint format ["Variable = %1", _variable]; // will display "Variable = any" (Arma 3)

Additional Information

See also:
isNilVariables

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