Emerson basic statements, commands, and functions – MITSUBISHI ELECTRIC T-60 User Manual

Page 50

Advertising
background image

EMERSON Basic Statements, Commands, and
Functions

The following is an alphabetized list of statements commands and functions
available in the EMERSON EMC BASIC. The EMERSON EMC BASIC

PROGRAMMING GUIDE contains a detailed description of the each of these
commands. Eason Technology is constantly adding new capability to the
T-60, please contact the factory or your Eason Technology Distributor for the

latest copy of the EMERSON EMC BASIC PROGRAMMING GUIDE. Copies
of the guide are also available on diskette. You can use the

ApplicationBuilder Editor to load and search for the description of a
command without having to search for a manual.

ABS

Absolute value

ASC

ASCII to number

ATN

Arctangent

AUT

Auto line number

BIN

Binary to decimal

BIN

Decimal to binary

CALL

T-60 special function

CALL BANNER

Print large characters

CALL BOX

Graphics box draw function

CALL GCLS

Clear graphics screen

CALL HELP

Display text with help text

CALL LINE

Draw graphics line

CALL NFORMAT

Formatted numeric string conversion

CALL NSETUP

Formatted numeric setup

CALL NKEY

Formatted numeric input

CALL NINPUT

Formatted numeric entry

CALL POINT

Return color of graphics point

CALL SCANKEY

Scan the keyboard return keycode

CALL SET

Draw graphics pixel

CHR$

Number to ASCII

CLEAR

Clear variables

CLS

Clear screen

COM(n)

Communications trapping

CONFIG

Communications settings

CONT

Continue

COS

Cosine

CSRCOL

Cursor row

CSRROW

Cursor column

DATA

Data storage

DEF FN

Define function

DELAY

Millisecond delay

DELETE

Delete program lines

DIM

Dimension array

EDIT

Edit program lines

END

End of program

ERASE

Erase arrays

ERR

Error code

ERL

Line number with an error

ERROR

Simulate error

EXP

Exponentiate

FIX

Truncate to whole number

FOR

FOR-NEXT loops

NEXT

FOR-NEXT loops

FRE

Free Space

GOSUB

Subroutine call

GOTO

Jump to line number

HEX

Hexadecimal to decimal

HEX$

Decimal to hexidecimal

IF

Conditional Statement

INKEY

Read keyboard (returns number)

INKEY$

Read keyboard (returns string)

INP

Input from 8-bit I/O

INPUT

Get user input

INPUT#

Input from comm port

INPUT$

String input

INSTR

Search for string

INT

Truncate to whole number

IO24

Specify an I/O bit pattern to trap on

KEY

Function key statements

KEY(n)

Function key interrupts

LABEL

Line label

LEFT$

Left characters of a string

LEN

Length of string LINE

INPUT

Input until Enter

LINE INPUT

#Line input from comm port

LISTDisplay

Lines on screen

LLIST

Print lines

LOG

Natural log

LOCK

Secure program from edit,view

LPRINT

Write to printer

LPRINT USING

Formatted LPRINT

MID$

Substring operations

NEW

Clear program

OCT

Octal to decimal

OCT$

Decimal to octal

ON COM(n)

Interrupt on comm port

ON IO24

Interrupt on I/O bit pattern

ON KEY(n)

Interrupt on function key

ON TIMER(n)

Interrupt on timer

ON ERROR GOTO

Interrupt on error

ON...GOSUB

GOSUB to list of line numbers

ON...GOTO

GOTO list of line numbers

OUT

Output to 8-bit I/O

OUT XOR

Logical exclusive OR to 8-bit I/O

OUT AND

Logical AND to 8-bit I/O

OUT MAP

Set/clear bits on 8-bit I/O

OUT OR

Logical OR to 8-bit I/O

POS

Position Cursor

POWER RESUME

Auto startup

PRINT

Write to display

PRINT USING

Formatted PRINT

PRINT #

Write to comm port

PRINT # USING

Formatted PRINT #

READ

Read data

REM

Comment

REMOTE

Host computer control

RENUM

Update line numbers

REPEAT

REPEAT-UNTIL loops

UNTIL

REPEAT-UNTIL loops

RESTORE

Re-read data statements

T-60 Operator's Manual

42

Advertising