Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 183

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 261 262

Commentaires sur ces manuels

Pas de commentaire