TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: ERIC STORK
date: 1997-10-01 05:31:00
subject: What`s my error?

From: Eric Stork 
The below macro is self-explanatory an works, but ...
It works only if I do ^9 twice -- the first time, nothing seems to happen.
Why is that?  I've never before encountered having to type twice the key to
which a macro is assigned.  Advice will be greatly appreciated.
Eric
proc mToggleTrailingSpace()     // mapped to ^9
    if Query(RemoveTrailingWhite)
        Set(RemoveTrailingWhite,OFF)
        Message("RemoveTrailingSpace is OFF")
        Sound(1000) Delay(9) NoSound()
    else
        Set(RemoveTrailingWhite,ON)
        Message("RemoveTrailingSpace is ON")
        Sound(1000) Delay(9) NoSound()
    endif
end  ToggleTrailingSpace
            mToggleTrailingSpace()
----------
Eric Stork
e-mail address: estork@erols.com
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

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™.