Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Bedienungsanleitung Seite 79

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 97
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 78
79
Chapter 21: String Manipulation/Formatting
Functions
21.1 FormatEx()
This function writes formatted data to a string. FormatEx() controls the way that arguments
print. 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 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.
Conversion Characters
Format conversion characters are:
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
Seitenansicht 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 96 97

Kommentare zu diesen Handbüchern

Keine Kommentare