Denso BHT-200QW Specifikace Strana 274

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 587
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 273
266
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.
Statement example: PRINT USING "!";"ABC"
Output:
A
@ Displays the entire stringexpression.
Statement example: PRINT USING "@";"ABC"
Output:
ABC
&& 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.
Statement example: PRINT USING "&&";"ABCDE"
Output:
ABCDE
Below are statement examples containing incorrect formatting strings.
Example: PRINT USING "Answer=###";a
Example: PRINT USING "####.# ######";a,b
expression or stringexpression
If more than one number or string is specified, the PRINT USING statement displays each
of them according to numericformat or stringformat, respectively.
PRINT USING "###";a,b,c
Zobrazit stránku 273
1 2 ... 269 270 271 272 273 274 275 276 277 278 279 ... 586 587

Komentáře k této Příručce

Žádné komentáře