1. eu.ex does not stop parsing after a top-level abort(0)

Subject says it all

Regards,
Pete

new topic     » topic index » view message » categorize

2. Re: eu.ex does not stop parsing after a top-level abort(0)

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: eu.ex does not stop parsing after a top-level abort(0)

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: eu.ex does not stop parsing after a top-level abort(0)

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: eu.ex does not stop parsing after a top-level abort(0)

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu