Avaya Writing Technician Interface Scripts Manual do Utilizador Página 37

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 36
Command Reference
308660-14.00 Rev 00
2-7
enumenv
The
enumenv
command lets you assign a sequence of values to a list of variables.
You assign a starting number
<starting_#>
and can optionally specify a value by
which to increment the enumeration <
+
increment
>. Most commonly, you use this
command with the
arrayenv
command to create named indices to use with a value
array. That way you can refer to the elements of the array with meaningful names
rather than index numbers. For an example, see the
mi/jointfilesconvert/95481/bget
command.
Syntax
The
enumenv
command has the following syntax:
enumenv
<starting_#>
[+
<increment>
]
<variable_name>
[
<variable_name>
. . .]
<starting_#>
is the starting number of the enumeration.
+<increment>
is the value by which to increment the enumeration.
<variable_name>
is the pseudo-variable array.
Example
The following example creates indices for attributes in a value array. In the result,
1 is the starting number and the values increment by 1. Therefore, the variable
named
proto
is 1, the variable named
dest
is 2, and so on.
enumenv 1 proto dest next hop mask metric as
Vista de página 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 115 116

Comentários a estes Manuais

Sem comentários