Re: [Jprogramming] symbol index origin

2016-03-19 Thread Dan Bron
Pascal wrote: > 6 s:s:'`' NB. Oh! The fill symbol hides. > 0 Yes, symbol 0 is reserved (unsurprisingly) for the empty symbol, the symbolic equivalent of ‘’, which is the literal equivalent of … 0 (and not just in J, but broadly recognized as such in information theory and the discipline of f

[Jprogramming] symbol index origin

2016-03-18 Thread David Lambert
The symbol indexes start at 1. s:'`a' NB. enter a symbol into a (symbol fresh) j session `a 6 s:s:'`a' NB. the index is 1 1 0 s:3 NB. string table shows the one string. a 6 s:s:'`' NB. Oh! The fill symbol hides. 0 -