Visara Master Console Center Scripting Guide Uživatelský manuál Strana 197

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 262
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 261 262

Komentáře k této Příručce

Žádné komentáře