The following BASIC statements are presented:
Indicates that the text following the ! is a comment. |
|
Indicates that the text following the * is a comment. |
|
Continues FlashBASIC or BASIC compilation in a different source item. |
|
Inserts FlashBASIC or BASIC code from a separate item (known as an include item) to be compiled as part of the object module of the current program or subroutine. |
|
Sets compatibility options for the FlashBASIC or BASIC compiler. |
|
Immediately stops program execution and unconditionally returns to the TCL command prompt. |
|
Enables or disables spooling to the auxiliary port. |
|
Starts a case construct. |
|
Starts a transaction. |
|
Enables or disables the BREAK key. |
|
Transfers control to an external FlashBASIC or BASIC subroutine and optionally passes a list of arguments to it. |
|
Delineates a conditional case construct. |
|
Toggles case sensitivity relative to input data and string comparisons in the current program and any called subroutines. |
|
Provides access to C libraries from BASIC. |
|
Transfers processing control to TCL, which interprets and executes the statement defined in the expression. |
|
Sets all local and common variables to 0 in a main program. |
|
Clears the data stack. |
|
Deletes all items in the specified file variable previously opened with an open statement. |
|
Clears the active select-list specified by the list variable and releases all overflow associated with that list. |
|
Closes the file identified by the file variable. |
|
Commits a transaction. |
|
Declares data elements to share among different FlashBASIC or BASIC modules. |
|
Compares two dynamic arrays. |
|
Restarts a loop that is under for...next or loop...repeat control. |
|
Searches a given variable and replaces each occurrence of a character by another. |
|
Outputs unconditionally to the terminal display, regardless of whether or not the printer on condition is in effect. |
|
Queues responses for use by subsequent input requests initiated from chain, enter, execute, or input statements. |
|
Temporarily suspends execution of a FlashBASIC or BASIC program and invokes the FlashBASIC or BASIC debugger. |
|
Provides an alternate to the delete() function for deleting a location from a dynamic array. |
|
Removes a specific item from a file. |
|
establishes a specific number of storage locations for a matrix of variables. |
|
Toggles terminal echo on or off. |
|
Indicates both the end of a series of statements executed conditionally from a then or else condition or the physical end of the program. |
|
Terminates case construct. |
|
Transfers control to another cataloged FlashBASIC or BASIC program. |
|
A compiler directive that declares a constant at compile time or a synonym of another variable or array element. |
|
Displays the error message from the messages file and continues execution of the program. |
|
Temporarily pushes a level and performs any valid TCL expression, then continues execution of the FlashBASIC or BASIC program. |
|
Executes a UNIX command from within a FlashBASIC or BASIC program. |
|
Forces an early exit from a loop that is under for...next or loop...repeat control. |
|
A compiler directive that allows the use of attribute definition items in the file’s dictionary while compiling a program. |
|
Sets an exclusive lock on an entire file. |
|
Releases an exclusive lock set by the filelock statement on an entire file. |
|
Designates a text string composed of literals and special options to output at the bottom of each page. |
|
An iterative, incremental loop statement used to repeat a sequence of statements for a specific number of occurrences. |
|
Gets raw characters from the specified port. |
|
Receives input from an attached line in ASCII hexadecimal format and returns an exploded ASCII hexadecimal string that allows binary data to contain a decimal 255 (x’ff’). |
|
Transfers control to a local subroutine identified by a statement label within the program. |
|
Transfers control to the location in the FlashBASIC or BASIC program that begins with the given statement label. |
|
Designates a text string composed of literals and special options to output at the top of each page. |
|
Tests the result of a logical expression. Depending on whether the expression evaluates to either true or false, the statements following the then or else clauses respectively are executed. |
|
Tests the result of a logical expression. |
|
Accepts a single raw character of input from the keyboard, without displaying a prompt character or requiring pressing ENTER following the input. |
|
Temporarily suspends execution of the program until a response is provided from the keyboard and assigns that response to a specified variable. |
|
Clears the keyboard type-ahead buffer. |
|
Toggles on and off the ability to enter control characters on succeeding BASIC input statements. |
|
Displays a message on the status (bottom) line of the terminal. it meant to be used with the input@ statement. |
|
Displays a dialog box (allowing the user to specify the title, text, and buttons), then waits for input. Upon return, the system(0) function returns a numeric code indicating the user choice. |
|
Used with the input @ statement to define the character used to indicate a null input on subsequent input statements. |
|
Enables or disables the extended character set (xcs) for the current process. |
|
Sets up an automatic computed gosub based on the next input @ statement data. |
|
Sets up an automatic computed goto based on the next input @ statement’s data. |
|
Cancels the previous inputtrap statement. |
|
An alternative to the insert() function for inserting a string expression into a dynamic array. |
|
Locates an item using a B-tree index key, and returns the item in a variable, providing the ability to sequentially search the items in the file based on the index. |
|
Assigns the value of an expression to a variable. |
|
Searches for the location of a specific string expression and returns the location in the position variable. |
|
Sets one of 64 execution locks, in the range from 0 through 63. |
|
Repetitively executes (loops) until an ending condition is met. |
|
Assigns data to each element of a dimensioned array variable to a specific value in one operation. |
|
Converts a dimensioned array into a dynamic array. |
|
Converts a dynamic array into a dimensioned array. |
|
Reads the specified item from the optionally specified file variable or, if not specified, the default file variable, and stores one attribute per element in the dimensioned array. |
|
Tests if an item is already locked and locks the item if it is not. |
|
Writes an item into the specified file variable. |
|
Identical to the matwrite statement, except the item remains locked. |
|
Occurs at the end of a for...next construct and causes the iteration counter to increment and branches to the corresponding for statement to decide whether to terminate. |
|
Performs no operation, other than to provide an instruction where one is required. This is usually used for program readability. |
|
Transfers control to a local subroutine designated by a specific statement label according to the positional value returned by the expression. |
|
Transfers control to the line within the FlashBASIC or BASIC program that begins with the specified statement label, according to the positional value of the expression referenced by the expression. |
|
Opens a specified file name and associates the file with the optional file variable. |
|
Outputs a single ASCII character derived from a numeric expression in the range of 0 through 255, which indicates its corresponding position in the ASCII table. |
|
Terminates the current page of output, prints the optional footing, positions to the top of the form, and prints the optional heading. |
|
Defines the number of fractional decimal places that a numerical value can hold. |
|
Directs output of an expression to the current output device. |
|
Directs output to one of 32,767 open print files. |
|
Prints the first character of the string expression to the screen or to the printer. |
|
Controls the output from subsequent print, heading, footing, or page statements. |
|
Reads the calling Proc’s primary input buffer and assigns its contents to a specified variable. |
|
Writes a string expression variable to the calling Proc’s primary input buffer. |
|
Optionally used on the first line of a program to indicate that this is a program. |
|
Indicates the single character to display during subsequent input statements that prompt for input from the keyboard. |
|
Reads an item as a dynamic array and stores the item as a string. |
|
Retrieves the next item-ID from an active list and assigns it to a specified variable. |
|
Reads a tape record and assigns the value returned to a specified variable. |
|
Reads a tape record converts the tape record to hexadecimal and assigns the resulting hexadecimal value to a specified variable. |
|
Reads an item from the optionally-specified file variable and assigns the value contained in the attribute number referenced in the attribute expression to the specified variable. |
|
Clears locks on items locked with a previous matreadu, readu, or readvu statement. |
|
Designates that all text that follows the statement on the same line is ignored by the compiler. |
|
Retrieves a substring delimited by a system delimiter from a dynamic array. |
|
Defines the end of a loop. See loop Statement for more information. |
|
Maintains referential integrity between items that contain bidirectional bridges used by the Update Processor by eliminating duplicate item-IDs. |
|
Terminates an internal or external subroutine and returns execution control to the statement following the invoking call or gosub statement. |
|
Rewinds the currently attached magnetic tape unit to the beginning of the tape. |
|
Rolls back (or undoes) a transaction. |
|
Provides an interface to the B-tree indexes for subsequent references with the key statement. |
|
Suspends processing for a specific number of seconds, or until a specific time. |
|
Creates an active list of item-IDs, allowing sequential access to each item in the file by use of the readnext statement. |
|
Sends output to a specified port. |
|
Converts the exploded ASCII hexadecimal string results of a specified string expression to its binary equivalent and then transmits it to the specified port. |
|
Places a process to sleep for a specific number of seconds, or, until a specific time. |
|
Enables or disables the spooler entry number message. |
|
Stops program execution and returns to the invoking the process. |
|
Defines a program as an external subroutine. |
|
Toggles or resets the type-ahead buffer. |
|
Executes any valid TCL command as a subroutine. |
|
Loads the TCL command used to activate the program into a variable. |
|
Enables or disables participation in a transaction. |
|
Aborts a transaction. |
|
Enables or disables the transaction read cache. |
|
Commits a transaction. |
|
Enables or disables the transaction flush mechanism. |
|
Rolls back a transaction. |
|
Starts a transaction. |
|
Resets an execution lock, in the range 0 to 63, previously set with a lock statement. |
|
Writes an eof (end of file) mark to the currently attached magnetic media. |
|
Writes the item specified in the dynamic array variable into the specified file, using the item-ID specified in the ID expression. |
|
Writes a tape record to the attached magnetic media from the specified variable. |
|
Writes a dynamic array into the specified file variable and keeps items locked that were locked by a previous readu or readvu statement. |
|
Writes the value of an expression into the attribute designated in the attribute expression parameter, using the item-ID specified in the ID expression. |
|
Identical to writev, except that the item remains locked. |
|
Writes the item specified in the dynamic array variable into the specified file, using the item-ID specified in the ID expression. |