Denso Power Net Terminal BHT-7500 Especificações Página 313

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 312
Chapter 14. Statement Reference
304
stringformat
stringformat
is a formatting string consisting of !, @, and/or &&, each of which
causes a special printing effect as described below.
! Displays the first character of the stringexpression.
@ Displays the entire stringexpression.
&& Displays the first n+2 characters of the stringexpression, where n is
the number of spaces between the ampersands (&&).
If the format field specified by
stringformat is longer than the
stringexpression, the string is left-justified and padded with space; if
it is shorter, the extra characters are truncated.
Below are statement examples containing incorrect formatting strings.
expression or stringexpression
If more than one number or string is specified, the PRINT USING statement dis-
plays each of them according to numericformat or stringformat, respec-
tively.
PRINT USING "###";a,b,c
Statement example:
PRINT USING "!";"ABC"
Output:
Statement example:
PRINT USING "@";"ABC"
Output:
Statement example:
PRINT USING "& &";"ABCDE"
Output:
Example:
PRINT USING "Answer=###";a
Example:
PRINT USING "####.# ######";a,b
A
ABC
ABCDE
Vista de página 312
1 2 ... 308 309 310 311 312 313 314 315 316 317 318 ... 559 560

Comentários a estes Manuais

Sem comentários