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

Declarations Section
Symbol Table Class

Symbol Table Data Structure
Copyright 1998 Entisoft

Summary: The Symbol Table is a data structure that stores Name and Value pairs. It can store multiple pairs which have the same Name. This data structure can also be used as an an associative array. When asked to lookup a duplicate Name, the Lookup function always returns the Value that were most recently added.
Hash Tables: The HashTable data structure is usually more efficient than the Symbol Table data structure because it its algorithms generally perform faster lookups. This Class can be more efficient than the HashTable data structure when the most-recently-added definitions are also the most-frequently-retrieved definitions.
Examples: Since this Class represents a data structure, you must DIMension a instance of this Class for each Symbol Table you would like to create. The following line of Visual Basic code will create a Symbol Table:
     Public stTemp As New SymbolTable
Please Note: None of the examples will execute within the Debug or Immediate window because those windows do not support the definition of variables. To run these examples, you must place the code within a Function or Subroutine.
See also:
    HashTable Class
    List Class
    UsingTheDataStructuresHelp Topic
Using this Class in Your Projects: Please see the UsingTheDataStructuresHelp Topic for important details about the data structure Classes such as this one within your projects.
v1.3 Change: 1. This Class has been fixed to support the storage and retrieveal of Object and DataObject type Values (variables with a datatype of vbObject and vbDataObject). See the other BugFix notes within this Class for a list of the individual Functions and Subroutines that are affected by this change.
v2.0 Changes: 1. Changed a few of the arguments so that they can no longer be Null or non-numeric. They are still Optional though, so they can be missing. See the Functions below for the details of this change. 2. Embedded a local copy of an Entisoft Tools routine within this Class so that this Class is no longer dependent upon routines in any of the other Entisoft Tools Classes.

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