Avaya Writing Technician Interface Scripts Manuel d'utilisateur Page 56

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 122
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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”
Vue de la page 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 121 122

Commentaires sur ces manuels

Pas de commentaire