Teledyne-lecroy SATracer 3G Verification Script Engine manual Manual de usuario Pagina 64

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 63
LeCroy Corporation Verification Script Engine Reference Manual Version 1.01
A space will insert a space before a positive signed integer. This only works with the conversion characters d and
i. If both a space and a plus sign are used, the space flag will be ignored.
A hash mark (
#) will prepend a 0 to an octal number when used with the conversion character o. If # is used with
x or X, it will prepend 0x or 0X to a hexadecimal number.
A zero (
0) will pad the field with zeros instead of with spaces.
Field width specification is a positive integer that defines the field width, in spaces, of the converted argument. If
the number of characters in the argument is smaller than the field width, then the field is padded with spaces. If the
argument has more characters than the field width has spaces, then the field will expand to accommodate the
argument.
Example:
str = "String";
i = 12;
hex_i = 0xAABBCCDD;
formatted_str = FormatEx( "%s, %d, 0x%08X", str, i, hex_i );
# formatted_str = "String, 12, 0xAABBCCDD"
59
Vista de pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68

Comentarios a estos manuales

Sin comentarios