26.2 26.1 26.0 25.3 25.2 25.1 25.0
26.2 26.1 26.0 25.3 25.2 25.1 25.0

compact() Operation

Syntax

anArray.compact()

Semantics

Removes NULL elements of the array anArray. This is a convenience operation that can be used instead of select from anArray where element.exists();.

Substitutables

anArray

Can be any variable or object attribute having the type Array.

Examples

set compactArray = anArray.compact();
Related Pages: