This procedure destroys array in memory.
Parameter | Type | Description | |
---|---|---|---|
arrayPtr | POINTER | Mandatory | Pointer to array |
Procedure returns *ON if array was destroyed correctly. It returnf *OFF in case of destroying process failed.
Examples:
xxText = 'Example of text';
xxPtr = stringToArray(%ADDR(xxText): %LEN(%TRIMR(xxText)));
//This will create array with following elements: ['Example','of','text']
arrayDestroy(xxPtr);