Visara Master Console Center Scripting Guide Manual de usuario Pagina 39

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 262
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 261 262

Comentarios a estos manuales

Sin comentarios