lxstext() Subroutine

Issues the set content command.

Library:
LPEXAPI.H
Include File:
LPEXAPI.H

C Syntax

int lxstext(unsigned char *Buffer); 

Parameter

Buffer 
A variable long enough to hold the value.

Description

The lxstext subroutine provides a faster way of issuing the set content command from a C language program. It has the same effect as calling:

sprintf(buffer1, "set content %s",buffer);
lxcmd(buffer1);

Example

To set the content of the current line to deposit amount, type:

lxstext ("deposit amount")

Return Value

The return value is the return code from the Editor.


Building External Commands Written in the C Language
lxcmd() Subroutine
lxqtext() Subroutine
content Parameter