GetCount - RefCollectionAlias
Revision as of 10:20, 3 December 2015 by imported>Plplecuyer
Member of: RefCollectionAlias Script
Gets the number of refs in this collection
Syntax[edit | edit source]
int Function GetCount() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
- The number of refs in the collection
Examples[edit | edit source]
;Disable all in collection
int icount = Alias_TownsPeople.GetCount()
int iindex = 0
while (iindex < icount)
Alias_TownsPeople.GetAt(iindex).Disable()
iindex = iindex + 1
endwhile