Ericsson MC 218 Reference Information page 93

Mobile companion
Hide thumbs Also See for MC 218:
Table of Contents

Advertisement

checks to see if there is any information stored in the 'Username' name. If
there is no such information, the script jumps to the 'getuserinfo' label. If
the name contains the information 'Bob', the script jumps to the
'boblogon' label. If the name contains something other than 'Bob', it
jumps to the 'getpass' label. You can link more than one condition to an
IF command by using the OR and AND logical operators. E.g.
jumps to the 'getuserinfo' label if either of the names has no information
associated with it. On the other hand,
jumps to the 'getuserinfo' label only if both of the names have no
associated information.
I
INFO <string exp>
NFO
Displays a message in the terminal screen, e.g. about the action currently
being performed. E.g.
You can use INFO messages to keep you informed about the progress of
your connection.
I
see O
NPUT
L
LEFT (<string exp>,<value>)
EFT
R
RIGHT (<string exp>,<value>)
IGHT
Extracts a specified number of characters from the furthest left or right part
of string. E.g.
will send "sec" if the information stored as logname$ is "secondlog".
Similarly,
would send "log".
L
LEN <string exp>
EN
Returns the length of a string. E.g.
will assign a value of 5 to 'namelen' if the string "Anton" is stored as
name$.
L
LOADNAMES <filename>
OADNAMES
S
SAVENAMES <filename>
AVENAMES
Loads a given names file, so that you can use its information in the current
script. E.g.
IF Username$="" OR Password$="" THEN
GOTO getuserinfo
IF Username$="" AND Address$="" THEN
GOTO getuserinfo
INFO "Initialising modem and dialling out..."
PEN
SEND LEFT (logname$,3)
SEND RIGHT (logname$,3)
namelen=LEN (name$)
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents