Re: print and get procedures
- Posted by petelomax Jan 29, 2011
- 1262 views
cargoan said...
I changed get.e to:
-- Note: ch is "live" at entry and exit of this routine
That's the problem. ch is "live" on exit but the first thing the next get(fn) does is get_ch().
cargoan said...
-- get_ch() -- removed -- get_ch() -- removed
Without testing, I suspect you were closer on the first attempt, and that this will fail on nested sequences, eg { {}, {1} }.
HTH,
Pete