Re: Allow_break

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

>I'm trying to get my program to run.  It started once, then hung up
>for no particular reason.  I couldn't restart it or do anything else
>without rebooting.

Might be an infinant loop... Look for one of those. (The exit condition
may not ever be met, or you have an exit that isn't be called, possibly.)

>So I inserted a statement, 'allow_break(1)', so that I could stop the
>program with a Ctrl-C.  Now I get the error message, 'Allow_break has
>not been declared'.

allow_break(1) is the default. If there is no input or output taking
place, then you won't be able to break out of the program.

>But this seems to be a legitimate statement in Euphoria.  I don't have
>to declare 'puts' or 'if...then' or 'get(0)'.  Why should I have to
>declare 'allow_break' and what should I declare it as?

include machine.e   -- I think.... Look in LIBRARY.DOC to see what the
                    -- include file you need is...



_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

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

Search



Quick Links

User menu

Not signed in.

Misc Menu