nil: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(This command returns Void.)
Line 12: Line 12:
| '''nil''' |= Syntax
| '''nil''' |= Syntax


| [[Any Value]] |= Return value
| [[Void]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 09:57, 7 September 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:
Void

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