CLEAR-ARRAY

Function

Resets array fields to their initial values.

Syntax

CLEAR-ARRAY NAME=array_name

Arguments

NAME

Name of array to clear.

Description

CLEAR-ARRAY resets each field of the named array to its initial value specified in CREATE-ARRAY. If no initial value was specified, numeric fields are reset to zero, text fields are reset to null, and date fields are reset to null. CLEAR-ARRAY releases all memory used by the specified array.

Examples

clear-array  name=custs

See Also

CREATE-ARRAY