This section describes the local application support functions provided by the LOCALAPP.LIB libraries. These functions allow your local application to:
•Communicate with ESL.
•Temporarily suspend program execution.
•Exit.
A function summary is given below. Command Reference contains a complete description of each function.
Function |
Description |
Reading Characters Sent from ESL: |
|
GetCharacter |
Reads a character from the input buffer. |
GetLine |
Reads a line of characters from the input buffer. |
QueryInputCount |
Returns the number of characters in the input buffer. |
Writing Characters to ESL: |
|
PutCharacter |
Sends a character to ESL. |
PutCharacterBuf |
Sends characters in a buffer to ESL. |
PutString |
Sends a string to ESL. |
Suspending Execution Temporarily: |
|
Suspend |
Suspends execution; allows other applications to run. |
EslSleep |
Suspends execution for a specified period of time. |
Exiting the Local Application: |
|
ExitLocalApp |
Terminates execution. |
CleanUp |
Programmer-supplied function, allows cleanup operations during termination. |