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

  • 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 38
Chapter 3 Script Syntax
Scripting Guide 39
Normal Arrays
Normal arrays are indexed by any expression that evaluates to a positive
integer value.
The lowest normal array index value is 1.
Examples:
$Arr[ 4]
%Arr[ %ArrIndex]
$Arr[ (%Var1 + %Var2)]
Associative Arrays
Associative arrays are indexed by any expression that evaluates to a
character string.
Examples:
$Arr[ “SYS5”]
%Arr[ $ArrIndex]
$Arr[ ($Var1 + $Var2)]
WARNING: This is a string expression. As such, be careful of
the case of the associative index—“SYS5” is
different from “Sys5”! Use the “UPPER()” and
LOWER()” functions if necessary.
Vue de la page 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 261 262

Commentaires sur ces manuels

Pas de commentaire