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

Value Property
Symbol Table Class

Public Property Get Value( _
    ByVal vElement As Long _
    ) As Variant

Get the Value Property for some Symbol Table definition.

Example:
    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    leaves
       stTemp.Value(1) = 23
See also:
    Name Property
    Count Property
vElement: Number of the Symbol Table definition whose Value will be returned. vElement must be between 1 and Count or this Property will return an Empty value.
v1.3 BugFix: This Property Get Function has been fixed to support the retrieval of Object and DataObject type Values.

Public Property Let Value( _
      ByVal vElement As Long _
    , ByVal vValue As Variant _
    )

Change the Value Property for some Symbol Table definition.

Example:
    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    for example
       stTemp.Value(1) = 55
    leaves
       stTemp.Value(1) = 55
vElement: Number of the Symbol Table definition whose Value will be changed. vElement must be between 1 and Count or this Property assignment will silently do nothing.
vValue: The new Value for the Symbol Table definition. vValue can be any type of Variant value (vbString, numeric, vbDate, vbArray, etc.) except an Object or DataObject.
v1.3 BugFix: The corresponding Property Set Subroutine supports the storage of Object and DataObject type Values.

Public Property Set Value( _
      ByVal vElement As Long _
    , ByVal vValue As Variant _
    )

Change the Value Property for some Symbol Table definition.

Example:
    Assuming
       Dim stTemp As New SymbolTable
       stTemp.Add "SubName", 23
    for example
       stTemp.Value(1) = 55
    leaves
       stTemp.Value(1) = 55
vElement: Number of the Symbol Table definition whose Value will be changed. vElement must be between 1 and Count or this Property assignment will silently do nothing.
vValue: The new Object or DataObject Value for the Symbol Table definition.
v1.3 BugFix: This new Property Set Subroutine has been added to support the storage of Object and DataObject type Values.

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