12-52
Creating A Script File
For example, to specify that the
Cancel
and
Retry
buttons are to be displayed, the
<buttons>
integer would be
18
.
Only the following combinations of buttons are allowed:
Ok
Ok & Cancel
Yes & No
Yes, No & Cancel
Retry & Cancel
Abort, Retry & Ignore
The following example will display a message box containing the message
Do you
wish to continue?
and the buttons
Yes
and
No
, and cause the value of the button
pressed by the user to be stored in the integer variable
result
.
msgbox "Do you wish to continue?" 12 result
Refer to the
Error Numbers
section later in this chapter for a list of possible error
numbers for this command.
MSTR
Syntax:
MSTR <variable> <string> <start> [<end>]
This command will copy a number of characters from within a string and place them
in a variable, where
<variable>
is a predefined string variable (see
var
) which will store the copied
characters.
<string>
is the source string from which characters are to be copied.
<start>
is the numeric position of the first character to be copied, where the
first character in the source string is 1. This value must be a number
greater than 0.
<end>
is the numeric position of the last character to be copied, where the first
character in the source string is 1. If this is omitted then all the charac-
ters to the end of the string will be copied. If this value is greater than
the number of characters in the source string then the destination
variable will include padded spaces so that it matches the number of
characters requested. If this value is less than the
<start>
value then it
will result in an empty string.
Summary of Contents for -05W
Page 1: ...TeemTalk 05W 07W 11W User s Guide...
Page 38: ...2 24 Getting Started Notes...
Page 58: ...3 20 Keyboard Configuration Notes...
Page 152: ...8 20 File Transfer Notes...
Page 162: ...9 10 ICL FTF File Transfer Notes...
Page 336: ...C 6 Key Reference Numbers Notes...
Page 360: ...E 16 Host Command Summary Notes...
Page 370: ...Index 10 Index X XMODEM 8 1 XMODEM 1K 8 1 Y YMODEM Batch 8 2 Z ZMODEM 8 2 Zoom Button 2 17...