Get-Set-Size
Command Description
Get the number of elements in a set
Command Prototype
iRet = Set.Count(objSet)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
objSet | True | expression | objSet | The object returned by the "Create Set" command is a collection of non-repetitive elements of no order |
return
iRet,The variable used to save the output of the command.
Demo
Dim iRet
Dim ObjSet
ObjSet=Set.Create()
iRet = Set.Count(ObjSet)
TracePrint(iRet)
/**
iRet 0
*/