Compiling and Linking the Code
See LXMIN2.MAK and LXMIN2.CMD for an example of how to compile
and link.
Your external command is run directly as a procedure call from
within the Editor. Consider the following:
- You cannot use the C exit function to quit from
your external command. The return statement in lxmain()
returns you to the Editor.
- The command runs on the Editor's stack. The stack is
usually quite large, so avoid storing too much in it.
- One copy of the external command is loaded. If you make a
recursive call, the same procedure is called and any
items you use will refer to the same storage location.
Write your programs to allow for this reentrance.

Sample External Command: fmatch
Sample External Command: match
Sample External Command: proto
linked Parameter
unlink Command