wwUtils::CollectionToArray
less than 1 minute to read

Converts a collection to an array.

foxpro
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, 1996-2024 • Updated: 05/31/21
Comment or report problem with topic