Avaya Writing Technician Interface Scripts Manual de usuario Pagina 46

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 116
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 45
Writing Technician Interface Scripts
2-18 117382-A Rev. A
let
The let command allows you to evaluate a simple arithmetical or logical
expression and assign the result to a given variable.
Syntax
The let command has the following syntax:
let
<flag>
<flag>
formats the result, as follows:
-s in signed decimal (default)
-u in unsigned decimal
-h in hexadecimal
-date as MM/DD/YY
-days as DD days
-time as HH:MM:SS; Modulo 24 hours
-tz as [+|-]HH:MM; Modulo +/-12:00
The following flags may be used together. Flag combinations other than those
listed below are invalid.
-date -time as MM/DD/YY HH:MM:SS
-
days -time as DD days HH:MM:SS
Example 1
The flags must immediately precede the variable name that represents the result,
as shown in the following example:
let -h a = 1 + 2
Vista de pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 115 116

Comentarios a estos manuales

Sin comentarios