Avaya Writing Technician Interface Scripts Manual de usuario Pagina 61

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 120
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 60
Command Reference
2-31
printf
The printf command converts, formats, and prints the input arguments
(
<p1>,. . .,<pN>
) on the Technician Interface console under the control of
<format>
.
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.
Table 2-4 lists the special characters you can use in the format and input
arguments.
Vista de pagina 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 119 120

Comentarios a estos manuales

Sin comentarios