Basic Functions¶
Index to Basic Functions¶
Function |
Type |
Description |
---|---|---|
Function |
Returns absolute value of argument |
|
Function |
Sets up argument for CALL |
|
Function |
Returns decimal equivalent of string |
|
Function |
Returns Arc-Tangent of argument |
|
Command |
Generates tone from sound generator |
|
Statement |
Calls machine-code subroutine |
|
Function |
Specific character set in graphics mode |
|
Function |
Returns string equivalent of argument |
|
Statement |
Draws circle on LCD |
|
Command |
Clears all variables |
|
Statement |
Closes files |
|
Command |
Clears the display screen |
|
Command |
Activates/deactivates communications interrupt |
|
Command |
Continues execution of program |
|
Function |
Returns cosine of argument |
|
Command |
Switches console to RS-232 port |
|
Command |
Switches cursor off and on |
|
Statement |
Holds data for use by program |
|
Function |
Returns current date string |
|
Function |
Returns current day string |
|
Command |
Defines RAM page |
|
Command |
Delete program lines |
|
Statement |
Initialises arrays |
|
Command |
Enters Basic editor |
|
Statement |
Terminates execution |
|
I/O Function |
Detects end of file |
|
Function |
Returns error code/line number |
|
Statement |
Simulates Basic error |
|
Function |
Returns e to the power of the argument |
|
Command |
Displays current files |
|
Function |
Strips argument to integer |
|
Statement |
Starts FOR…NEXT loop |
|
Statement |
Returns number of free bytes |
|
Statement |
Branches to subroutine |
|
Statement |
Branches to alternative line |
|
Statement |
Initialises HELP key text pointer |
|
Statement |
Conditional branch |
|
Statement |
Conditionally executes one of two statements |
|
I/O Statement |
Returns single character from keyboard |
|
I/O Statement |
Returns keyboard status |
|
I/O Statement |
Returns single character from keyboard if input pending |
|
I/O Statement |
Returns value at port address |
|
Statement |
Returns data input from keyboard |
|
Statement |
Validates data input from keyboard |
|
I/O Statement |
Input data from file |
|
Function |
Returns position of second string in first string |
|
Function |
Returns integer part of argument |
|
Function |
Returns fixed-field string |
|
Command |
Initialises soft keys |
|
Command |
Activates/deactivates soft keys |
|
Command |
Deletes file |
|
Function |
Returns left part of string |
|
Function |
Returns lengths of string |
|
Statement |
Assigns value of variable |
|
I/O Statement |
Returns single character from RS-232 |
|
Statement |
Draws straight line |
|
I/O Statement |
Returns entry from RS-232 |
|
Command |
Lists program at LCD |
|
I/O Statement |
Lists program at RS-232 |
|
Statement |
Loads program from RS-232 |
|
Function |
Returns natural logarithm |
|
Command |
Loads program from file |
|
I/O Function |
Number of records read/written |
|
Command |
Sets cursor position |
|
Function |
Returns logarithm to base 10 |
|
I/O Statement |
Sends single character to RS-232 |
|
I/O Statement |
Outputs to RS-232 |
|
I/O Statement |
Sends trace output to RS-232 |
|
I/O Statement |
Maximum no. of files to be opened |
|
Function |
Returns mid portion of string |
|
Command |
Re-names file |
|
Command |
Initialises program space |
|
Statement |
Concludes FOR.. .NEXT loop |
|
I/O Statement |
Vectors program on BREAK key |
|
I/O Statement |
Vectors program on communication |
|
I/O Statement |
Vectors program on COMMS failure |
|
Statement |
Vectors program on Syntax error |
|
Statement |
Conditional branch to subroutine |
|
Statement |
Conditional branch |
|
I/O Statement |
Vectors program on soft keys |
|
I/O Statement |
Vectors program on POWER key |
|
I/O Statement |
Restarts program on power up |
|
Statement |
Vectors program on system time |
|
Statement |
Outputs 1 or more ASCII characters |
|
I/O Statement |
Opens file for input/output |
|
I/O Statement |
Outputs to specified port |
|
Statement |
Returns decimal byte value of memory locations |
|
Statement |
Value of PI = 3.14159 |
|
Statement |
Returns condition of pixel |
|
Statement |
Sets memory location with decimal value |
|
Statement |
Returns value from machine code linkage/stack |
|
Statement |
Returns cursor position |
|
Statement |
Specify auto time off |
|
Command |
Disables power off key and time outs |
|
Command |
Switches HUNTER off |
|
Command |
Switches HUNTER off |
|
Statement |
Outputs to LCD |
|
I/O Statement |
Output data to file |
|
Statement |
Set/re-set pixel |
|
Statement |
Puts value onto machine code linkage stack |
|
Statement |
Returns value from DATA statement |
|
Statement |
Enters remarks to Basic text |
|
Statement |
Resets Read pointer |
|
Statement |
Restarts program at specified line |
|
Statement |
Returns from subroutine |
|
Function |
Returns right portion of string |
|
Function |
Produces random number |
|
Command |
Starts a program execution |
|
Command |
Writes program to file |
|
Command |
Changes screen mode |
|
Function |
Returns a value for the sign of its argument |
|
Function |
Returns Sine of argument |
|
Command |
Generates specified tone |
|
Function |
Returns string of spaces |
|
Function |
Prints spaces |
|
Function |
Returns square root of its argument |
|
Function |
Returns target string array position |
|
Statement |
Terminates program execution |
|
Function |
Returns string equivalent of a numerical argument |
|
Function |
Returns string of characters |
|
Function |
Exchange contents of two variables |
|
I/O Statement |
Formats Print output |
|
Function |
Returns tangent of argument |
|
Function |
Returns current time string |
|
Command |
Turns trace on/off |
|
Function |
Returns numeric value of string |
|
Function |
Returns address of variable |
|
Command |
Defines wand decode software |
|
Statement |
Conditional execution of statements |
|
I/O Statement |
Inputs a single character from an optical wand |
|
I/O Statement |
Inputs string from optical wand |
|
I/O Statement |
Write data to file |