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

XPL entry (Was "Glitches...")



> Better still, learn how to embed XPL commands from the CMline. It's
> no harder than embedding any other command. And, in the long run,
> far less trouble than editing a mish-mash of recorded keystrokes.
>

Another way to handle input of XPL functions into a program is The Herb's method (described in
*XyWrite Revealed*). You type the 2-character XPL mnemonic as regular text right there in your
program, then hit a hotkey that turns it into the actual XPL function. The hotkey has a program
assigned to it that merely defines the 2 characters to the left of the cursor, deletes them, then
throws them up on the command line (BC or BX) after a "pfun" command and executes. Such a
program is simple to write. If you're facile enough in XPL to know the function calls to put them on
the CM line, you know them well enough to type them in the text and use the hotkey. It's much
faster.

This is one of the things that continues to amaze me about XPL: You can use all of XyWrite's
functions, commands--*and even XPL* --to write and edit programs! Just as if you were editing any
old text file.


--TLO
Timothy_Olson@xxxxxxxx
(630) 784-5327