Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 197

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 196
Chapter 5 Script Commands
Scripting Guide 197
Example:
SWITCH $Msg[ 3]
CASE “IOS000I”:
//call the IOS000 script to handle
IOS000( $Msg[ 4], $Msg[ 5])
BREAK
CASE “IOS050I”:
//call the IOS050 script to handle
IOS050( $Msg[ 4], $Msg[ 5])
BREAK
CASE “IOS060I”:
CASE “IOS070I”:
CASE “IOS080I”:
//call the IOS067 script to handle
IOS0678( $Msg[ 4], $Msg[ 5])
BREAK
DEFAULT:
LOG( LOG_FLT, “OTHER MESSAGE”)
BREAK
ENDSWITCH
SWITCH %Index
CASE 0:
//call the IOS000 script to handle
DoThisNow( $Msg[ 4], $Msg[ 5])
BREAK
CASE 1:
//call the IOS050 script to handle
DoThatNow( $Msg[ 4], $Msg[ 5])
BREAK
CASE 2:
CASE 3:
CASE 4:
//call the IOS067 script to handle
IOS0678( $Msg[ 4], $Msg[ 5])
BREAK
DEFAULT:
LOG( LOG_FLT, “OTHER MESSAGE”)
BREAK
ENDSWITCH
See Also:
IF
Vue de la page 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 261 262

Commentaires sur ces manuels

Pas de commentaire