Description
Nil value. This value can be used to undefine existing variables.
Syntax
nil
Returns: Nothing
Examples
Example 1
variableToDestroy = nil;
Example 2
private _variable = 50;
_variable = nil;
hint format ["Variable = %1", _variable]; // will display "Variable = any" in unscheduled environment
// will output "Error Undefined variable in expression: _variable" in scheduled environment
// identical to
hint format ["Variable = %1", _variableThatWasNeverDefined];