TIP: Click on subject to list as thread! ANSI
echo: qedit
to: GEORGE DE BRUIN
from: FRED SCHENK
date: 1994-12-22 18:01:00
subject: Re: Upper Macro

-=) 13 December 1994 13:59, George De Bruin schreef aan Philip Thornton: (=-
>> Which brings me to another question.  If this happens is there a
>> way of aborting a looped script?
GDB> If you use Set(Break, ON) in the macro you can break out of it.  You
GDB> need to use extreme caution when using this part of the macro language.
GDB> Please see the warning under Break in the documentation.
GDB> Also, realize that you need to let a keystroke 'in' in order for the
GDB> macro interpreter to catch it and break out of the macro.  In this loop,
GDB> there wasn't anything that allowed a key to be read in, so we would have
GDB> had to add something like:
GDB>     if KeyPressed()
GDB>         GetKey()
GDB>     endif
Hello George,
IMHO it would be easier to check for a keypress and when pressed, to abort 
he
script...Maybe even display a text saying 'Press any key to abort'.
greetings, Fred $chenk                         
... Oregano: The ancient art of pizza folding.
--- FMail 0.98
---------------
* Origin: Happy to be a !!!! POINT MBSNET !!!! (2:284/412.33)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.