Historical forum-msg-id-131523-edit, Revision 1

Original date:2017-11-11 18:38:06 Edited by: petelomax Subject: Re: [Phix] check_break divide by zero error

[quote _tom]

integer k = get_key() 
if check_break() then 
    puts(1, "Shutting down...") 
    --save_all_user_data() 
    abort(1) 
end if 

I can not run this. [/quote] Will be fixed in the next release. builtins/pbreak.e needed a complete rewrite (it was broken on Windows as well as Linux) and that included a few more instructions being supported by the inline assembler.

I suppose that in the short term, you could just comment out the offending instructions (line 55-56) in the old version of that file, and live with allow_break()/check_break() not doing much?

Pete

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu