class BASE_FORMAT
****
Formats for the Basic types


Flattened version is here

Ancestors
FMT_NUMBERS



Public


Constants
const force_exp_sign: INT := 16;
**** Exponent 'e' was followed by a '+'.
const force_sign: INT := 8;
**** The format expression started with '+'.
parse_dot_and_anchor,
**** Dot and anchor dicovered.
parse_filler_expected;
**** there was no filler behind an `F'.
parse_illegal_anchor,
**** Illegal or duplicate anchor.
parse_not_yet,
**** Not yet implemented feature requested.
parse_success,
**** Parse successfully completed.
parse_syntax_error,
**** Format string could not be parsed completely.
const use_anchor: INT := 32;
**** There was an anchor in the string.
const use_exponent: INT := 4;
**** There was an 'e' in the format string.
const use_precision: INT := 2;
**** There was a dot in the format string.
const use_width: INT := 1;
**** There was a hash sign in the width part.

Features
fmt_bool( b: BOOL, fmt: STR ): STR
**** Formatter for BOOL.
fmt_char( c: CHAR, fmt: STR ): STR
**** Formatter for CHAR.
fmt_flt( f: $FLT, fmt: STR ): STR
**** Formatter for FLT and FLTD.
fmt_int( i: INT, fmt: STR ): STR
**** Formatter for INT.
fmt_parse
fmt_parse_easy(
fmt_str( s: STR, fmt: STR ): STR
**** Formatter for STR.


Private


The Sather Home Page