Issues an Editor command and any parameters from a C program.
| Library: | LPEXAPI.H |
|---|---|
| Include File: | LPEXAPI.H |
C Syntax
int lxcmd(unsigned char *Command);
Parameter
Command |
A single string containing the command and any parameters to be issued. |
Description
The lxcmd subroutine provides a way of issuing an Editor command from a C program. It is passed one parameter, which is a string containing the command (with any parameters) to be issued.
Examples
lxcmd ("insert this is a new element");
lxcmd ("find up asis needle");
lxcmd ("next word");
Return Value
The return value is the return code from the Editor.
![]()
Building External Commands Written in
the C Language
lxcall() Subroutine
