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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 122
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 55
Writing Technician Interface Scripts
2-22 114089 Rev. A
Example:
The following example shows how to use the let command to set up a slotmask:
let slot = $<Enter Slot Number>
let -h slotmask = 0x80000000 >> ($slot - 1)
echo “slot #” $slot “slotmask” $slotmask
Examples:
Additional examples using the let command are shown below:
let b = 5 * (10**2);
let capA = 'A'
set env letter “A”
let capA = '$letter'
let len = strlen(“abcdef”)
setenv string “answer=1”
let len = strlen(string)
let index = strindex(string, “wer”)
let index = strpbrk(string, “=:;”)
if $index = 0 then; echo “Missing Delimiter”
let index = strmatch(string, “pat”)
if $index = 0 then; echo “No match found”
Vista de página 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 121 122

Comentários a estes Manuais

Sem comentários