Re: wait_key()

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

Wolf writes:
> ... used to work in a bound .exw. Why not with 2.3?
> -- wait.exw --
> include get.e
> object jk
> puts(1,"\n...press any key to exit.")
> jk=wait_key()
> -- end --

That's a bug I introduced in the binder for 2.3 beta.
The shrouder, interpreter and translator are not affected.
Thanks for reporting it.
I'll fix it for the official 2.3 release.

You can work around it in many ways,
e.g.
           if wait_key() then
           end if
or 
           jk = wait_key()
           abort(0)

A function call, at the very end of the very last statement,
might be ignored in a bound executable. 
It's an easy one to fix. 

Thanks,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu