wwUtils::CollectionToArray

Converts a collection to an array.

foxpro
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, 2025 • Updated: 2025-03-12
Comment or report problem with topic