![](bmp/CLASSMETHOD.png)
Converts a collection to an array.
loCol = CREATEOBJECT("Collection")
FOR lnX =1 TO 100
loCol.Add(TRANSFORM(lnX))
ENDFOR
DIMENSION laItems[1]
lnCount = CollectionToArray(@laItems, loCol)
? lnCount && 100
o.CollectionToArray(@laItems, loCollection)
Parameters
@laItems
loCollection
See also:
Class wwUtils | wwUtils::ArrayToCollection© West Wind Technologies, 2023 • Updated: 05/31/21
Comment or report problem with topic