next up previous contents index
Next: Display Up: Main Functions 1 Previous: Database   Contents   Index

Symbol Tables

(string) SetSymbolTable(tabname)
This function will set the current symbol table to the table named in the argument string. If the tabname is null or empty, the default ``main'' table is understood. If a table by the given name does not exist, a new table will be created for that name.

The return value is a string giving the name of the active table before the switch.

(int) ClearSymbolTable(destroy)
This function will clear or destroy the current symbol table. If the boolean argument is nonzero, and the current table is not the ``main'' table, the current table and its contents will be destroyed. Otherwise, the current table will be cleared, i.e., all contained cells will be destroyed. If the current symbol table is destroyed, a new current table will be installed from among the internal list of existing tables.

This function always returns 1.

(string) CurSymbolTable()
This function returns a string giving the name of the current symbol table.


next up previous contents index
Next: Display Up: Main Functions 1 Previous: Database   Contents   Index
Stephen R. Whiteley 2022-05-28