Avaya Writing Technician Interface Scripts Manual do Utilizador Página 58

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 57
Writing Technician Interface Scripts
2-30 117382-A Rev. A
printf
The printf command converts, formats, and prints the input arguments
(
<p1>,. . .,<pN>
) on the Technician Interface console under the control of
<format>
.
Syntax
The printf command has the following syntax:
printf
<format> <p1> <p2> . . . <pN>
<format>
is the string describing what to print.
<p1> <p2>...<pN>
represent input arguments.
<format>
contains text to be printed and conversion specifications. Everything
inside the
<format>
string is printed, except for the conversion specifications.
When the
printf command locates a conversion specification, it formats and prints
the value of the next input argument that follows the <
format
> string. You must
have the same number of input arguments as conversion specifications. The syntax
rules for
<format>
are described later in this section.
The
printf command does not automatically output a newline at the end of each
line. You must explicitly output a newline as part of either the
<format>
string or
in the argument strings. This feature lets you use multiple
printf commands to
output a single line or you can use a single
printf command to output multiple
lines. The special character \n
represents a new line.
T
able 2-4 lists the special characters you can use in the format and input
arguments.
Vista de página 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 115 116

Comentários a estes Manuais

Sem comentários