1. eu.ex does not stop parsing after a top-level abort(0)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Nov 20, 2004
- 551 views
Subject says it all Regards, Pete
2. Re: eu.ex does not stop parsing after a top-level abort(0)
- Posted by "Igor Kachan" <kinz at peterlink.ru> Nov 20, 2004
- 522 views
Hi Pete, > Subject says it all > > Regards, > Pete In the DOS32 window, try:
if machine_func(5, -1) then end if abort(0)
Regards, Igor Kachan kinz at peterlink.ru
3. Re: eu.ex does not stop parsing after a top-level abort(0)
- Posted by Robert Craig <rds at RapidEuphoria.com> Nov 20, 2004
- 536 views
- Last edited Nov 21, 2004
Pete Lomax wrote: > Subject says it all That's right. The interpreter now reads all of your source before executing anything. The translator has always worked this way. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
4. Re: eu.ex does not stop parsing after a top-level abort(0)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Nov 21, 2004
- 533 views
On Sat, 20 Nov 2004 18:22:52 +0300, Igor Kachan <kinz at peterlink.ru> wrote: >In the DOS32 window, try: > >}}} <eucode> >if machine_func(5, -1) then end if >abort(0) ></eucode> {{{ Why? Try this:
if graphics_mode(-1) then end if abort(0) rubbish
On 2.4 you might get a warning, which you could suppress. On 2.5 you also get an error. Same with ex.exe and exw.exe. Many of my programs have notes, bits of C code, etc in the main file after an abort statement. Pete
5. Re: eu.ex does not stop parsing after a top-level abort(0)
- Posted by "Igor Kachan" <kinz at peterlink.ru> Nov 21, 2004
- 533 views
Pete Lomax wrote: > On Sat, 20 Nov 2004 18:22:52 +0300, > Igor Kachan <kinz at peterlink.ru> wrote: > > >In the DOS32 window, try: > > > >}}} <eucode> > >if machine_func(5, -1) then end if > >abort(0) > ></eucode> {{{ > > Why? > > Try this: > }}} <eucode> > if graphics_mode(-1) then end if > abort(0) > rubbish > </eucode> {{{ > > On 2.4 you might get a warning, which you could suppress. > On 2.5 you also get an error. Same with ex.exe and exw.exe. > Many of my programs have notes, bits of C code, etc in > the main file after an abort statement. Oh, yes, I see your real question now. My receipt is related to the DOS32 graphics programs, which sometimes can not stop in the dos window, but do understand abort() command on plane DOS platform. I thought you came on that complicated case too. Good Luck! Regards, Igor Kachan kinz at peterlink.ru