Teledyne-lecroy UWBTracer Verification Script Engine Manual Uživatelský manuál Strana 88

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 95
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 87
LeCroy Corporation Verification Script Engine Manual, version 2.2
22 String Manipulation/Formating Functions
22.1 FormatEx()
Writes formatted data to a string. Format is used to control the way that arguments print out. The
format string may contain conversion specifications that affect the way in which the arguments in the value string
are returned. Format conversion characters, flag characters, and field width modifiers are used to define the
conversion specifications.
Format: FormatEx (format_string, argument_list)
Parameters:
format_string Format-control string
argument_list Optional list of arguments to fill in the format string
Return Values:
Formatted string
Format conversion characters:
Code Type Output
c Integer Character
d Integer Signed decimal integer
i Integer Signed decimal integer
o Integer Unsigned octal integer
u Integer Unsigned decimal integer
x Integer Unsigned hexadecimal integer, using "abcdef."
X Integer Unsigned hexadecimal integer, using "ABCDEF."
s String String
Page 88 of 95
Zobrazit stránku 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 94 95

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

Žádné komentáře