Avaya Writing Technician Interface Scripts Instrukcja Użytkownika Strona 113

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 122
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 112
Sample Scripts
114089 Rev. A A-35
:FI_ENBLI:
if $# != 3 then ; goto :FI_HELP_ENBL:
# Sanity check <slot.connector> parameter...
if “$ver” < “x7.80” then; goto :SKIP_STRPBRK1:
setenv teststr “ABCDEFGHIJKLMNOPQRSTUVWXYZ”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
setenv teststr “abcdefghijklmnopqrstuvwxyz”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
setenv teststr “!@#%^&*()_-=+\|`~[{]}';:/?,<>”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
:SKIP_STRPBRK1:
let firstdot = strindex(“$3”, “.”)
if $firstdot = 0 then ; goto :FIEN_MSG2_HELP:
let lastdot = strrindex(“$3”, “.”)
if $firstdot != $lastdot then ; goto :FIEN_MSG3_HELP:
if $?(wfFddiEntry.wfFDDIEnable.$3) = 0 then ; goto :FI_ENBLIE:
set wfFddiEntry.wfFDDIEnable.$3 1
echo “FDDI connector $3 enabled.”
commit
goto :FI_END:
:FI_ENBLIE:
echo “FDDI connector $3 not found.”
goto :FI_END:
:FIEN_MSG1_HELP:
gosub :ERR_MSG1:
goto :FI_HELP_ENBL:
:FIEN_MSG2_HELP:
gosub :ERR_MSG2:
goto :FI_HELP_ENBL:
:FIEN_MSG3_HELP:
gosub :ERR_MSG3:
goto :FI_HELP_ENBL:
Przeglądanie stron 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 121 122

Komentarze do niniejszej Instrukcji

Brak uwag