Ar Null

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(nullArray:array) ar_Null

Returns an invalid array. This is useful if you wish to specify that a variable which previously referred to an array should no longer refer to any array.

OBSE keeps track of the number of references to each array and destroys the array when no references to it remain. This makes it unnecessary for scripts to worry about destroying arrays explicitly. But if you choose to destroy it yourself, make sure you use "Let MyArrayVar := ar_Null".