Issues the query content command.
| Library: | LPEXAPI.H |
|---|---|
| Include File: | LPEXAPI.H |
C Syntax
int lxqtext(unsigned char *Buffer);
Parameter
Buffer |
A variable long enough to hold the return value. The MAXQUERY constant in LPEXAPI.H is set to the longest possible return string. |
Description
The lxqtext subroutine provides a faster way of issuing the query content command from a C program. It has the same effect as calling:
lxquery("content",buff1);
Buffer = buff1 + 8; /* to skip over the word "content " */
Example
To find the content of the current line and put it into a variable called element_content_buffer:
char *element_content_buffer; element_content_buffer = malloc (MAXQUERY); lxqtext (element_content_buffer);
Return Value
The return value is the return code from the Editor.
![]()
Building External Commands Written in
the C Language
lxquery() Subroutine
lxstext() Subroutine
content Parameter
