You can use the following library of external subroutines to access Editor functions:
| lxcmd() | Invokes an Editor command |
| lxcall() | Invokes an Editor command with a separate parameter string |
| lxquery() | Gets information about Editor data items and settings |
Ten special-purpose subroutines provide fast access to some Source view and Editor window functions. These are especially useful when working with parsers.
| lxnext() | Moves the current position to the next line |
| lxprev() | Move the current position to the previous line |
| lxqtext() | Gets the content of the current line |
| lxstext() | Sets the content of the current line |
| lxqfont() | Gets the fonts of the current line |
| lxsfont() | Sets the fonts of the current line |
| lxqclass() | Gets the class of the current line |
| lxsclass() | Sets the class of the current line |
| lxalloc() | Allocates storage |
| lxfree() | Frees storage allocated using the lxalloc() subroutine |
![]()
External Subroutines
Program Entry and Exit Conditions
Sample External Command: proto
