A86: Re: _PARSEINP (_exec_basic)


[Prev][Next][Index][Thread]

A86: Re: _PARSEINP (_exec_basic)




How about replacing the stop token in basic programs with something else
before executing them?

> This _exec_basic code seems to be working fairly well in most
circumstances.
> It executes working code fine, and even handles the stop command
flawlessly
> as far as I can tell.  Where it blows up is when the basic code has an
error:
> if they hit quit it escapes to the home screen but if they do "goto", then
it
> seems to interfere with handling any errors from then on.  If I do
something
> as simple as "+" on the homescreen and hit enter, it crashes.  This
> presumably has something to do with moving the OPBASE and not restoring
it.
> Any ideas on how to trap stop commands without screwing up on errors?
I've
> experimented with using my own error routine (which restores the opbase
and
> all) but it still crashes on the next error that's triggered.  Any ideas?





Follow-Ups: References: