Features
Author |
Thread:
[]IT 'SymbolTable' |
brent.hildebrand
|
[]IT 'SymbolTable'
Posted:
Saturday, July 03, 2004 4:15 PM (EST)
|
From document, ATN601.DOC
ŒIT 'SymbolTable'
returns a matrix of information about the symbol table. The number of rows is one more than the number of symbols in the table, which contains all the names of variables, functions and labels that have been defined since the beginning of the workspace. There are five columns.
For the individual rows:
[;1] A character vector with the name.
[;2] A Boolean which is true if the name has a value or function definition associated with it.
[;3] Flags
[;4] "Valence" A coded form of the type of value.
[;5] Chaining number: An internal number associated with the hashing for finding names.
For those interested in using this function, columns three and four can be induced by experimentation; column five is for unregenerate geeks with too much time on their hands.
For the summary row, (row 0), the numbers are related to those provided by the system command: )symbols
OK - [;4], "Valence", assume column[;2] is 1
0 = variable
1 = Niladic Function
2 = Monadic Function
4 = Diadic Function
[;3], "Flags".
3 = []NA function.
[;5] Chaining number - I don't think I have enought time or maybe I'm not unregenerate enough.
|
|
|