Avaya Writing Technician Interface Scripts Manuale Utente Pagina 60

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 116
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 59
Writing Technician Interface Scripts
2-30
308660-14.00 Rev 00
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.
Table 2-4
lists the special characters you can use in the format and input
arguments.
Vedere la pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 115 116

Commenti su questo manuale

Nessun commento