Avaya Writing Technician Interface Scripts Instrukcja Użytkownika Strona 40

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 122
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 39
Writing Technician Interface Scripts
2-6 114089 Rev. A
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/91351/bget command.
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.
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
Przeglądanie stron 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 121 122

Komentarze do niniejszej Instrukcji

Brak uwag