92
endsession
:
INFO
“End of session. Now hanging up.”
HANGUP
EXIT
F
ALSE
see
T
RUE
F
OLD
FOLD <string exp>
“Folds” a string: i.e. converts it to upper case, and removes any accents.
E.g.
SEND FOLD Username$
F
OR
see
O
PEN
F
ORGET
FORGET
Clears all variables.
G
OTO
GOTO <label>
Jumps to the command following a specified label. E.g.
GOTO prompt
…
prompt:
WAIT
60
“
Hello
”
GOTO gothello
…
ENDWAIT
The
GOTO
command makes the script jump straight to the
WAIT…ENDWAIT
command. The specified label can be anywhere in
the script.
H
ANGUP
HANGUP
Drops the DTR line for three seconds. If you are currently using a
telephone line connection, your modem will hang up and drop the DCD
line to the Psion. This command has the same effect as
‘Hangup’
on the
‘Transfer’
menu.
I
F
IF
<exp>THEN<command>[[ELSE]<command>[ELSEIF<exp>THEN<command>]] ENDIF
Allows you to specify a choice of instructions according to the conditions.
IF
requires both a
THEN
command, and an
ENDIF
command. E.g.
IF Username$=“” THEN
GOTO getuserinfo
ELSEIF Username$=“Bob” THEN
GOTO boblogon
ELSE GOTO getpass
ENDIF