nil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arrayname=nil)
mNo edit summary
Line 25: Line 25:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
Note that ArrayName = nil destroys the arrayNAME '''not''' the array content.
Note that ArrayName = nil destroys the arrayNAME '''not''' the array content.


Array content is 'destroyed' when no more ArrayName'''s''' refer to the content.
Array content is 'destroyed' when no more ArrayName'''s''' refer to the content.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 10:03, 24 July 2007

Hover & click on the images for description

Description

Description:
Nil value. This value can be used to undefine existing variables.
Groups:
Uncategorised

Syntax

Syntax:
nil
Return Value:
Any Value

Examples

Example 1:
variableToDestroy = nil

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

Note that ArrayName = nil destroys the arrayNAME not the array content.

Array content is 'destroyed' when no more ArrayNames refer to the content.

Bottom Section