Visara Master Console Center Scripting Guide Manual do Utilizador Página 95

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 262
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 94
Chapter 5 Script Commands
Scripting Guide 95
ENCODE
Syntax:
ENCODE ($String[,$Key]) ==> $Result
Description:
Encodes a GCL string, for example, a password.
Action:
The specified string is encoded using the specified key, if any. If no key
is specified, a default key is used. The encoded output string has the
same length as the input string.
Parameters:
$String. String expression. The input string to encode.
$Key. String expression. Optional. The encoding key to use.
Returns:
$Result. String expression. The encoded 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@#%"
$b := encode($a)
See Also:
DECODE
Vista de página 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 261 262

Comentários a estes Manuais

Sem comentários