Sub Symbol Table Class

Add

Add a new definition ( Name and Value pair) into the Symbol Table, even if the Name is not unique.

Signature (Visual Basic / VBA)

Public Sub Add( _
      ByVal vName As Variant _
    , ByVal vValue As Variant _
    )

Code Example

    Assuming
       Dim stTemp As New SymbolTable
    for example
       stTemp.Add "FunctionName", 23
       stTemp.Add "FunctionName", 24
    leaves
       stTemp.Count = 2

Parameters

Parameter Description
vName The string or numeric identifier associated with the value vValue.
vValue Value that will inserted into the Symbol Table along with its identifier. vValue can be any type of Variant value (vbString, numeric, vbDate, vbObject, vbArray, etc.).

Notes & Version History

v1.3 BugFix This Subroutine has been fixed to support the storage of Object and DataObject type Values.