User exits allow calling direct system code from a BASIC oconv or iconv function. Many of the functions performed by user exits can be achieved by using the system() function or the execute statement with the appropriate TCL command or BASIC statement.
The following BASIC user exits are presented:
Returns monitor information. |
|
Gets the name of the current account. |
|
Returns the TCL command invoking the FlashBASIC or BASIC program. |
|
Returns term settings in dynamic array format. |
|
Clears the type-ahead buffer. |
|
Creates a phantom process. |
|
Gets the port number of the scheduler process. |
|
Gets the number of attributes (elements) after a matread. |
|
Returns the checksum of a string. |
|
Returns the last shutdown status. |
|
Converts a decimal number into a Roman numeral. |
|
Reads an absolute disk sector. This user exit provides more information than u14a. |
|
Obtains and manipulates external strings, allowing the caller (likely non-FlashBASIC) to store data without writing to a file or storing it in BASIC string space. |
|
Updates a binary item from a FlashBASIC or BASIC program. |
|
Returns the where status for the specified PCB (Process Control Block) FID, and its return stack information. |
|
Converts a hexadecimal number (in a string) to a binary number. |
|
Encodes or decodes a string of characters. |
|
Replaces all occurrences of a specified string found in a specified string with the text in another specified string. |
|
Converts a binary number to a hexadecimal number (32-bit limit). |
|
Returns a soundex value for a specified string. |
|
Performs BIOS INT 10 calls to change the video screen attributes on the console. |
|
Reads an absolute disk sector. |
|
Writes an absolute disk sector. |
|
Allows output of any character to the terminal or spooler. |
|
Converts a numeric expression to the number of units as defined by the TCL set-units, set-dozens, set-decimal, or set-thousands commands. |
|
Returns only alphabetical and numeric characters. |
|
Allows character input combined with an eoi (end-of-input) character. |
|
Encrypts a password. |
|
Returns a dynamic array, sorted in ascending order. |
|
Converts American currency punctuation ($1,000.00) to international punctuation (#1.000,00) |
|
Converts a unit expression to a numeric value as defined by the TCL set-units, set-dozens, set-decimal, or set-thousands commands. |
|
Breaks a single line of text into multiple lines of text with each line being no longer than the a specified number of characters. |
|
Returns the tape block size. |
|
Returns a string of digits indicating the boot status. |
|
Converts international currency punctuation (#1.000,00) to American punctuation ($1,000.00). |
|
Converts upper case to lower case. |
|
Returns information about the current process. |
|
Opens a file, or reads the next attribute from a file. |
|
Returns a numeric value representative of the current unit setting defined by the TCL set-units, set-dozens, set-decimal, or set-thousands commands. |
|
Converts lower case to upper case. |
|
Retrieves the CC pointer item information from binary items. |
|
Returns the number of saves that have occurred since the last full restore. |
|
Encrypts a character string. The result is always an 8-character hexadecimal string. |
|
Returns the PCB FID of the current process, or returns the port number of the current process. |
|
Suspends processing until a specified time. |
|
Aborts a FlashBASIC or BASIC program. |
|
Returns the diskette drive type and density selected. |
|
Retrieves statistical information about the use of buffers by the D3 monitor. |
|
Returns information about the port. |
|
Converts an ASCII hexadecimal-format string to binary, and sends it to the printer. |
|
Directs all subsequent output to the terminal. This is the same as the BASIC printer off statement. |
|
Sets a port to sleep for a specified number of seconds. This is the same as the BASIC sleep statement. |
|
Returns the PCB (Process Control Block) in hexadecimal for the current process. |
|
Sets the format type to the given format media. |
|
Parses the input into discrete words. |
|
Writes a string in ASCII or hexadecimal to a specific location in a frame. |
|
Reads a specific location of a frame and returns the content. |
|
Returns the port number, user-ID, and current account for this process, just like the TCL who command. |
|
Returns the PCB in hexadecimal for port 0. |
|
Clears the internal BASIC heading and footing so that subsequent heading and footing statements display properly at the top of the next page. |
|
Flushes all memory to disk, and shuts down the D3 system. |
|
Returns the user-ID and account name of the current process. |
|
Removes all but the last three characters from the data passed from the variable. |
|
Sets/clears privilege bits. |
|
Returns the estimated number of items in the most recently referenced file. |
|
Sends shutdown message. |
|
Returns the size of an item. |
|
Forces the system to restart. |
|
Sets the HAForceCheck option programmatically. |
|
Converts the American date format (mm/dd/yy) to international format (dd/mm/yy). |
|
Returns the number of items selected by the most previous select. |
|
Sets a group lock. |
|
Clears a group lock from the group lock table. |
|
Sets the root fid of the index. |
|
Returns the file of files number for the file most previously referenced in the FlashBASIC or BASIC program. |
|
Flips the parity bit on the input. |
|
Reads and writes D3 shell variables. |
|
Logs on a given port. |
|
Follows the links of a frame. |
|
Retrieves the links for the specified fid. |
|
Logs of the specified port. |
|
Returns the absolute value of a variable, stripping the leading -, if any. |
|
Reads one string of memory. |
|
Writes a value into a memory address. |
|
Reads a character byte from a serial port. |
|
Writes a character byte out to a serial port. |
|
Starts and stops multiuser mode, and returns information about the number of serial ports, PIBs, phantom PIBs, licensed users, users logged on, and the maximum number of users that can log on. |
|
Obtains and manipulates external strings, allowing the caller (likely non-FlashBASIC) to store data without writing to a file or storing it in BASIC string space. |