97
RESET
SETUP
Baud=57600
Parity=Even
ENDSETUP
R
IGHT see LEFT
SAVENAMES see LOADNAMES
SEND SEND <string exp> [;] [& <string exp>]
&
Sends data to a remote machine, usually for controlling a modem or for
conveying information to a remote system. E.g.
SEND “atz”
sends a modem initialisation string. You can add the character code for the
Enter key to the SEND command by putting a semi-colon after the string,
e.g.
SEND “mypassword”;
To include control characters, such as carriage returns or line feeds, in a
SEND string, use angled brackets. E.g.
SEND “mail<13><10>”
sends a carriage return (control character number 13) and then a line feed
(control character number 10) after ‘mail’. Control character codes can also
be entered in hexadecimal form, prefixed with a $ sign. E.g.
SEND “bye<$1B>”
puts the control character code 27 (the ‘Esc’ control) at the end of the
SEND string. You can send more than one string at a time by using the &
operator. E.g.
SEND “john” & “password29”
S
ENDBREAK SENDBREAK
Sends a “break” (i.e. transmits nothing for a short space of time) to the
remote machine. The effect of this depends on the type of remote machine
and the software it uses.
S
ENDWAIT SENDWAIT <value> <string exp>,<string exp> GOTO <label>
Combines a SEND command with a WAIT command. E.g.
SENDWAIT 60 “Anton” , “Password:” GOTO nopass
GOTO pass
does exactly the same as
SEND “Anton”
WAIT 60
“Password:” GOTO pass