99
Note: For both
HANDSHAKE
and
FAIL
, you can set more than one of
the choices by separating them with a comma. E.g.
HANDSHAKE=XONXOFF,DCD
FAIL=DCD,DSR
Parameters you do not specifically set with
SETUP
remain unchanged.
SETUP
requires a matching
ENDSETUP
command.
S
TATUS
STATUS <string exp>
Displays an information message in the status bar at the bottom of the
Terminal emulation screen. Use
STATUS
messages to keep you informed
about the progress and state of your connection, e.g.
STATUS “Connected to BBS.”
T
RUE
TRUE
F
ALSE
FALSE
Return 1 if a specified condition is true, and 0 if it is false.
IF user$=“bob” THEN
f$=TRUE
ELSE
f$=FALSE
ENDIF
SEND f$
Will send
1
if the information stored as
user$
is “
bob
”, and
0
if it is not.
U
NTIL
see
R
EPEAT
U
PLOAD
UPLOAD <filename>,<string>
Prepares the MC 218 to send a file to a remote machine, using a protocol
indicated by the second string. E.g.
UPLOAD
“D:\Documents\letter1” , “XModem”
The protocol is indicated by one of the following labels: ASCII; XModem;
YModem (batch).
U
PPER
UPPER <string exp>
L
OWER
LOWER <string exp>
Convert text to upper or lower case. E.g.
SEND UPPER username$
will send “
CLIVE
” even if the information stored as “
username$
” is
“
Clive
”. Similarly,
INFO LOWER prompt$
will display the information in lower case. You can combine
UPPER
with
other text control commands such as
MID
,
LEFT
,
RIGHT
etc. E.g.
STATUS UPPER LEFT (L$,1) & LOWER MID (mid(L$,1))
will display
L$
with a capital letter at the start and the rest in lower case.