12-16
Creating A Script File
Arithmetic Modifiers (+= -= *= /= %=)
These operators all act as per their usual function (if the
=
was ignored), but have the
effect that they substitute the resultant value back into the variable upon which they
were operating. For example:
var %Int = 9
Int += 1
wrt "Int = ", Int, "_n_r"
exit
would print the line:
Int = 10
String Operators
There are a limited number of operators that will successfully manipulate strings.
These are as follows:
+ += = == != < <= > >=
Copying Strings (= + +=)
These operators will copy one string either onto the end of another, or copy one
string to another.
For example:
var $String = "Hello"
var $Result
Result = " Everybody"
would set
Result
to contain the string
"Hello Everybody"
Or alternatively:
var $String = "Hello"
= " Everybody"
would change
String
to contain the string
"Hello Everybody"
String Comparison (== != < <= > >=)
These operators enable strings to be compared.
The
==
operator will check that two strings are the same, whereas the
!=
operator will
check that they are not the same.
Содержание -05W
Страница 1: ...TeemTalk 05W 07W 11W User s Guide...
Страница 38: ...2 24 Getting Started Notes...
Страница 58: ...3 20 Keyboard Configuration Notes...
Страница 152: ...8 20 File Transfer Notes...
Страница 162: ...9 10 ICL FTF File Transfer Notes...
Страница 324: ...13 32 Dynamic Data Exchange Text1 i 12 LinkItem 0 i 80 Text1 i 12 LinkMode 1 Next i End If End Sub...
Страница 336: ...C 6 Key Reference Numbers Notes...
Страница 360: ...E 16 Host Command Summary Notes...
Страница 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...