Re: print and get procedures

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu