<-- Previous || Up || Next -->

Add Sub
Symbol Table Class

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

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

       Dim stTemp As New SymbolTable
    for example
       stTemp.Add "FunctionName", 23
       stTemp.Add "FunctionName", 24
       stTemp.Count = 2
See also:
    AddOrUpdate Subroutine
    Update Function
    Lookup Function
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.).
v1.3 BugFix: This Subroutine has been fixed to support the storage of Object and DataObject type Values.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.