Hardware Reference
In-Depth Information
Command
Function/operation
GOTO
Transfer program execution to the statement identified by a
label
HEX$
Return a hexadecimal (base 16) string representation
of an argument
IF
Test a condition and execute one or more program statements
IF/END IF
Create a IF/THEN/ELSE block with multiple lines and
conditions
IN
Input byte data from a port
INPUT#
Load variables with data from a sequential file
INSTR
Search a string for the first occurrence of a character or string
INT
Convert a numeric expression to an integer-class value
KILL
Delete a disk file
LCASE$
Return a lowercase version of a string argument
LEFT$
Return the left-most n characters of a string
LEN
Return the logical length of a variable
LET
Assign a numeric variable or string
LINE INPUT#
Read line(s) from a sequential file into a string variable
or string array
LOC
Determine the current seek position in an open disk file
LOCAL
Declare local variables in a sub or function
LOCATE
Define a point on the screen
LOF
Return the length of an open disk file
LOG
Return the natural (base e) logarithm of an argument
LSET
Left-align a string within the space of another string
LSET$
Return a string containing a left-justified (padded) string
LTRIM$
Return a string with leading characters or strings removed
MID$
Return a portion of a string
NOT
Logical bitwise NOT operation
OCT$
Return a string that is a octal (base 8) representation of a value
ON ERROR
Specify an error handling routine; enable/disable trapping
ON GOSUB
Call one of several subroutines based on a numeric expression
ON GOTO
Send program flow to one of several labels based on a value
ON KEY
Used for trapping key events
OPEN
Prepare a file or device for reading or writing
OR
Logical bitwise OR arithmetic operation
OUT
Output byte data to a port
PEEK
Return the byte at a specific memory location
PEEK$
Return a sequence of bytes starting at a specific memory
location
POKE
Store a byte at a specific memory location
POKE$
Store a sequence of bytes starting at a specific memory
location
PRINT#
Write a string or a complete array to a sequential file
PUT
Write a record to a random-access file or a variable to
a binary file
PUT$
Write a string to a file opened in binary mode
RANDOMIZE
Seed the random number generator
( continued )
Search WWH ::




Custom Search