Left |
Right |
|
Function |
0 |
0 |
|
the cardinality of the set of symbols |
0 |
1 |
|
the string length (the number of characters used in the string table) |
0 |
2 |
|
the table of symbols; the columns are:
| 0 | index in the string table |
| 1 | length in bytes |
| 2 | hash value |
| 3 | color |
| 4 | parent |
| 5 | left |
| 6 | right |
| 7 | order # |
| 8 | predecessor |
| 9 | successor |
| 10 | bit flags |
The details of this data may change from one version of J to the next.
|
0 |
3 |
|
the string table |
0 |
4 |
|
the hash table. _1 indicates free entries;
non-negative values are indices into the table of symbols. |
0 |
5 |
|
the binary tree root |
0 |
6 |
|
the binary tree fill factor |
0 |
7 |
|
the binary tree gap |
0 |
10 |
|
get the global symbols data, equivalent to 0 s:&.>i.8.
The details of this data may change from one version of J to the next.
|
0 |
11 |
|
perform an integrity check on the global symbols data
|
0 |
12 |
|
the number of queries required for each symbol
|
1 |
array of symbols |
|
a string of the symbol names each prefaced by a leading '`' |
_1 |
string |
|
the symbols list for a string containing symbol names
each prefaced by the leading character |
2 |
array of symbols |
|
a string of the symbol names each suffixed by a trailing zero character |
_2 |
string |
|
the symbols list for a string containing symbol names
each suffixed by the trailing character |
3 |
array of symbols |
|
a literal array of the symbol names padded with zero characters |
_3 |
literal array |
|
the symbols array for the literal array wherein each row,
excluding trailing zero characters, is the name of a symbol |
4 |
array of symbols |
|
a literal array of the symbol names padded with blanks |
_4 |
literal array |
|
the symbols array for the literal array wherein each row,
excluding trailing blanks, is the name of a symbol |
5 |
array of symbols |
|
an array of boxed strings of the symbol names |
_5 |
boxed strings |
|
the symbols array for the boxed array wherein each box
is a string of a symbol name |
6 |
array of symbols |
|
an integer array of the symbol indices (indices into the table of
symbols) |
_6 |
indices |
|
the symbols for the indices |
7 |
array of symbols |
|
an integer array of the order numbers for the symbols |
10 |
global symbols data |
|
set the global symbols data (as previously returned
by 0 s: 10) after performing
an integrity check on it.
Incorrect global symbols data may cause misinterpretation of symbol arrays,
or data corruption, or a system crash, or the end of civilization
as we know it.
|