Home
The collection.clear( ) method removes all elements from the collection instance and returns an empty collection.
Note: This method modifies the original collection.
C_COLLECTION($col) $col:=New collection(1;2;5) $col.clear() $vSize:=$col.length //$vSize=0
collection.remove( )
Product: 4D Theme: Collections
4D Language Reference ( 4D v19) 4D Language Reference ( 4D v19.1)