The following functions can be used to gather input data:
Retrieve the value or status of a communications parameter | |
Receive a CR/LF terminated "line" of data from a serial port | |
Receive binary data from a serial port | |
Return the command-line used to start the program | |
Modify the current program's environment table. | |
Retrieve strings from the operating system's environment table | |
Return end-of-file status of a file, serial or TCP/UDP transmission | |
Bind a field string to a file buffer or dynamic string variable | |
Rapidly scan a INPUT or BINARY file to obtain string size info | |
Return the next available PowerBASIC file number | |
Read a record from a random-access file | |
Read a
| |
Return the handle of the standard input device | |
Return the handle of the standard keyboard device | |
Read a keyboard character if one is ready from the graphic window | |
Read data from the keyboard from within a graphic window | |
Remove all buffered keyboard data. | |
Determine whether a keyboard character is ready. | |
Read an entire line from the keyboard from graphic window | |
Read a keyboard character from the graphic window, waiting until one is ready. | |
Check whether a graphic window has been clicked with the mouse | |
Read a keyboard or mouse event from the console input buffer | |
Read a line from the keyboard, assigning data to one or more variables | |
Load variables with data from a sequential file | |
Empty all pending keyboard and mouse events from the buffer | |
Return the state of the keyboard Shift, Ctrl and/or Alt keys | |
Determine whether a keyboard or mouse event is available | |
Assign a string expression to a function key (F1 to F12) | |
Retrieve the string expression assigned to a function key with the KEY statement | |
Read an entire line from the keyboard into a string variable | |
Read line(s) from a sequential file into a string variable or array | |
Determine the current seek position in an open disk file | |
Return the length of an open disk file | |
Turn on/off mouse event trapping and define required mouse events | |
Return the number of buttons on the system mouse | |
Determine if a mouse event is waiting to be retrieved | |
Return the current column (x coordinate) of the mouse cursor | |
Return the current row (y coordinate) of the mouse cursor | |
Return the byte at a specific memory location | |
Return a sequence of bytes starting at a specific memory location | |
Return TRUE if the end of standard input has been reached | |
Read one line of text from the standard input device | |
Read a character or mouse event from the console input buffer | |
Wait until a key is pressed or a mouse event occurs |