lxc Command

The lxc command processes a command in a macro or external command in the same way as one originating from the command line in the Editor.

Syntax

Parameter

Command 
The command to be issued. If more than one command is issued, use the mult command.

Description

The lxc command processes a command in a macro or external command in the same way as one originating from the command line. In particular, the special command = (which means repeat the last command) is understood. The command is added to the history so it can be retrieved or reissued with the = command.

Note: The lxc command adds the command to the buffer, and then calls the lxi command.

Example

To process the command string add 10 ;cursorpos 3, type into a routine or macro:

lxc mult ;add 10 ;cursorpos 3 

This command is added to the command history and the lxi command is called.

API Return Codes

-1 
The commands in the Command parameter were not valid Editor commands. Make sure all commands are valid and if more than one command is issued, ensure that you have used the mult command.
-8 
Insufficient storage to continue.

For other codes returned by called routines or macros, see the relevant routine or macro.


lxi Command
lxr Command