Calls an Editor command with a separate parameter string.
| Library: | LPEXAPI.H |
|---|---|
| Include File: | LPEXAPI.H |
C Syntax
int lxcall(unsigned char *Command, unsigned char * ParameterString);
Parameters
Command |
The command name |
ParameterString |
The parameters for the command |
Description
The lxcall subroutine provides a way of issuing an Editor command from a C program. It passes two parameters: the first parameter is the command name, and the second is the parameter string for the command.
Examples
lxcall("insert", "this is a new element");
lxcall("find", "up asis line");
lxcall("next", "word");
Return Value
The return value is the return code from the Editor.
![]()
Building External Commands Written in
the C Language
lxcmd() Subroutine.
