
A–B
C
Appendix
C–1
Application Library Subroutines
In ENV.BAS and ENVPC.BAS
OpenLINX Opens all devices to be used by low level I/O routines. . . . . .
TestEvent% Tests for an event. . . . . .
Read Event% Waits for an event. . . .
Send Sends a record directly to the host. . . . . . . . . . .
SendQue Sends a record indirectly to the host through the queue. . . . . . . .
SetLINE Sets the state of the control line. . . . . . . .
SetLED Turns a workstation keyboard LED on or off. . . . . . . . .
SendCom Sends a record to the comm line. . . . . . .
Set DTR Sets the state of Data Terminal Ready. . . . . . . .
SetRTS Sets the state of Request To Send for a comm port. . . . . . . . .
GetDSR% Gets Data Set Ready status for a comm port. . . . . . .
PENDING% TRUE if Send will result in a pause.. . . . .
MEMFULL% TRUE if less than 1024 bytes remain in RAM. . . .
ONLINE% TRUE when ONLINE to the network. . . . . .
GetDATE$ Translates DATE$ into standard form (MM/DD/YYYY). . . . . .
GetTIME$ Translates TIME$ into standard form (HH:MM:SS). . . . . .
In READ.BAS
CL1 Clears the top line of the display and homes cursor. . . . . . . . . . . .
CL2 Clears line 2 and left justifies cursor. . . . . . . . . . . .
PC1 Prints a string centered on line 1. . . . . . . . . . . .
PC2 Prints a string centered on line 2. . . . . . . . . . . .
ReadFlush Flushes the keyboard buffer. . . . . . .
ReadStrField% Edit a string field on the display. . .
ReadStr% Simple edit a string on the screen. . . . . . .
ReadNumSTR% Simple edit of string of numeric characters. .
ReadPassword% Inputs a password from the keyboard. .
ReadYN% Wait for a YES/NO response from user. . . . . . .
ReadInt% Input an integer value from the keyboard. . . . . . .
ReadReal% Input a real value from the keyboard. . . . . .
ReadLong% Input a long value from the keyboard. . . . .
In MENU.BAS
Menu% Displays a menu and waits for a selection. . . . . . . . .
LogE! Returns the natural log of a value. . . . . . . . . .
Log10! Returns the base 10 log a value. . . . . . . . .
Exponential! Returns e to the x. . . . .
Power! Relturns x to the power of y. . . . . . . . .
SquareRoot! Returns the square root of x. . . . .
CubeRoot! Returns the cube root of x. . . . . .
Comentarios a estos manuales