Skip to main content

Add-Element-to-Set

Command Description

Add element to set

Command Prototype

Set.Add(ObjSet,varValue)

Parameter Description

ParameterRequiredTypeDefaultDescription
ObjSetTrueexpressionObjSetThe set object to operate on
varValueTrueexpressionvarValueThe 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}
*/