Add-Element-to-Set
Command Description
Add element to set
Command Prototype
Set.Add(ObjSet,varValue)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
ObjSet | True | expression | ObjSet | The set object to operate on |
varValue | True | expression | varValue | The elements to be added to a set. Can be any type of data |
Demo
Dim ObjSet
ObjSet=Set.Create()
Set.Add(ObjSet,4)
TracePrint(ObjSet)
/**
ObjSet = {4}
*/