[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

KBMACRO.PM



Here's a revised KBDMACRO.PM for Xy4|XyWin. It corrects a couple of
bugs (final func Q2 not recognized; "STACK STACK" anomalies with Ascii-
13). This new version is the one to use. Discard the original.

-> Notice how you can extend KB's functionality by simply calling
-> U2 routines within the macro. --R.J.Holmgren

Good point, Robert. That's why I located KB's save/gets in the 800
range -- to avoid overwriting "transient" save/gets 01-99 typically
used by U2 and other Help/Menu routines. For users who may not
understand "calling U2 routines within the macro", in XPL you "call"
(run) a Help routine with the function JM or JH. E.g., the code to
call a U2 frame named "syntax" is JM (2.syntax), where "JM " represents
the 3-byte embedded function obtained by commanding PFUN JM. The
keyboard file equivalent is JM,(,2,.,s,y,n,t,a,x,); here "JM" is the
plain-text 2-character mnemonic for function "JM ". So, for example, a
KB macro that runs "Syntax" starting from the 5th line of the current
file would look like this:

KB tf,ld,ld,ld,ld,jm,(,2,.,s,y,n,t,a,x,)

P.S. It's been brought to my attention that my UUencoded posts have
had an extraneous space before the end of each line, which hinders
decoding. The error has nothing to do with Robert's MUD|MUC coders,
which work perfectly. It's rather a quirk in the Post Road Mailer,
which inserts the spaces upon importing external files into a message.
I have a workaround. Apologies for the inconvenience.


begin 644 KBDMACRO.PM
MKD=,8:\-"GM[-2Q(96QP-$M"1&UA8W)O+$AE;'`T:V)]?2!(96QP(&9O6)O87)D+7-T>6QE(B!M86-R;W,@9G)O;2!T:&4@8V]M;6%N9"!L
M:6YE#0H@(&9O7@T*("`@("`@
M($M"(%MK97EB;V%R9%]M86-R;UT\2&5L<&ME>3X-"@T*17AA;7!L90T*+2TM
M+2TM+0T*1&5&:6YE('!A2!$949I;F5D(&)L;V-K
M(&9R;VT@061J86-E;G0@4V-R965N.R!#86YC96P@1&5&:6YE.@T*#0H@2T(@
M>60L9'`L8W(L9&TL9'HL9'@L8G@L*"QN+&4L+RPQ+#`L,"PI+&-P+&%S+'ED
M+&%S+&1O/$AE;'!K97D^#0H-"D%S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