RE: Kat / RDS: File locking

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

>From: Brian Broker <guest at RapidEuphoria.com>
>Reply-To: EUforum at topica.com
>To: EUforum at topica.com
>Subject: Kat / RDS: File locking
>Date: Thu, 23 Sep 2004 02:04:46 -0700
>
>posted by: Brian Broker <bkb at cnw.com>
>
>Just thought I'd pipe in about the file locking thing.  I've been using
>ConText for editing my programs (with hotkey/one-button execution).  When
>I'm debugging I'll run the program from the editor, read the run-time erro=
r
>without pressing Enter to continue, fix the error and save the file.  But
>sometimes the file saves just fine (even with the previous instance still
>waiting for my 'Enter'), and other times it refuses to save the file
>(presumably locked by the interpreter) until I close the previously-errore=
d
>session.
>
>I'd say it's about 50/50 whether I can save it while the errored
>interpreter
>was waiting for my key press to end.
>

     I believe this is a consequence of Euphoria's execute-on-parse
algorithm. When it reaches an error (syntax, or otherwise), the file is not=
=20
closed until you dismiss the error message. It would be nice if Eu didn't d=
o=20
this, but, it will be changing in the next version. It will
parse-then-execute since the front-end will be separate from the back-end.

>
>-- Brian
>

~[ WingZone ]~
http://wingzone.tripod.com/

=20
Technology.=20
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=10=
34&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines=20
  Start enjoying all the benefits of MSN=AE Premium right now and get the=
=20
first two months FREE*.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu