Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 183

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 182
Chapter 5 Script Commands
Scripting Guide 183
SET
Syntax:
SET Variable := Expression
Description:
Make the contents of a variable equal to the specified expression.
Action:
The variable is made equal to the value of the evaluated expression.
Parameters:
Variable. Numeric or string variable. The variable to receive the
value. If the expression evaluates to a numeric value, a numeric
variable must be specified; likewise for a string.
Expression. Numeric or string expression. The evaluated value to
place in the variable.
Returns:
N/A.
Notes:
SET is an optional keyword. The following statements have the same
function:
SET %Var := 22
%Var := 22
Example:
SET %Num := 200
SET $Str := “ABCDEFG”
%Num := VAL( $Str) // 0
$Str := RIGHTSTR( $Str, 1) // “G”
SET $Array[ 4] := “IEF”
See Also:
DEC, INC
Przeglądanie stron 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag