EasyManua.ls Logo

Ericsson MC 218 - Page 93

Ericsson MC 218
113 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
93
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.
IF Username$=“” OR Password$=“” THEN
GOTO getuserinfo
jumps to the ‘getuserinfo label if either of the names has no information
associated with it. On the other hand,
IF Username$=“” AND Address$=“” THEN
GOTO getuserinfo
jumps to the ‘getuserinfo label only if both of the names have no
associated information.
I
NFO INFO <string exp>
Displays a message in the terminal screen, e.g. about the action currently
being performed. E.g.
INFO “Initialising modem and dialling out...”
You can use INFO messages to keep you informed about the progress of
your connection.
I
NPUT see OPEN
LEFT LEFT (<string exp>,<value>)
R
IGHT RIGHT (<string exp>,<value>)
Extracts a specified number of characters from the furthest left or right part
of string. E.g.
SEND LEFT (logname$,3)
will send “sec” if the information stored as logname$ is “secondlog”.
Similarly,
SEND RIGHT (logname$,3)
would send “log”.
L
EN LEN <string exp>
Returns the length of a string. E.g.
namelen=LEN (name$)
will assign a value of 5 to ‘namelen’ if the string “Anton” is stored as
name$.
L
OADNAMES LOADNAMES <filename>
S
AVENAMES SAVENAMES <filename>
Loads a given names file, so that you can use its information in the current
script. E.g.

Other manuals for Ericsson MC 218