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

  • 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 91
Chapter 5 Script Commands
Scripting Guide 92
DECODE
Syntax:
DECODE ($String[, $Key]) ==> $Result
Description:
Decodes a GCL string, for example, a password.
Action:
The specified string is decoded using the specified key, if any. If no key
is specified, a default key is used. The decoded output string has the
same length as the input string.
Parameters:
$String. String expression. The input string to decode.
$Key. String expression. Optional. The decoding key to use.
Returns:
$Result. String expression. The decoded output string.
Notes:
The input string must contain only printable ASCII characters, from
space to ~. If it contains unprintable characters (for example, control
characters), $Result contains an empty string and an error message is
logged in icsexec.log.
Example:
$a := "kdfjdkfj dkf@#%"
$c := decode($b)
See Also:
ENCODE
Zobrazit stránku 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 261 262

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

Žádné komentáře