Clear

The Clear built-in variable method clears the entire contents of the scalar or array variable in a single operation. If it is a string-primitive variable, it (or each element in the array) is set to spaces. If it is a number-primitive variable, it (or each element in the array) is set to zero.

Syntax

<<variable>>::Clear(void) : void

Owner

Any variable.

Example

MyVariable := "Contents"      : MyVariable has the value "Contents"
MyVariable.Clear()         : MyVariable is now "        "