1. Allow_break
- Posted by "Wallace B. Riley" <wryly at MINDSPRING.COM> Jun 15, 1998
- 534 views
Hello everybody: 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. 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'. 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? Wally Riley wryly at mindspring.com
2. Re: Allow_break
- Posted by Robert B Pilkington <bpilkington at JUNO.COM> Jun 15, 1998
- 538 views
>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]
3. Re: Allow_break
- Posted by Arthur Adamson <euclid at ISOC.NET> Jun 15, 1998
- 557 views
>include machine.e -- I think.... Look in LIBRARY.DOC to see what the > -- include file you need is... Make that file.e, per 2.0 manual. Bye Arthur P. Adamson, The Engine Man, euclid at isoc.net
4. Allow_break
- Posted by Alan Tu <ATU5713 at COMPUSERVE.COM> Jun 15, 1998
- 516 views
Wally, I see 11 other mails from the list, so someone undoubtedly has told you this. But in case not: allow_break is a library routine that is *NOT* built into the interpreter= =2E = It is one of the 72 routines that are in include files. (61 are built in= ). In this case, add the following at the top of your program: include file.e --Alan =
5. Re: Allow_break
- Posted by "Graeme." <hmi at POWERUP.COM.AU> Jun 16, 1998
- 512 views
>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. Wally, I think the solution to your problem, lies in printing a few values to the screen inside your main loop so you can see what's going on. This will slow it down considerably, but you can remove them once you've got the bugs ironed out. Graeme. ----------------------------------------------------