Unit: EgStrParser
const
ERR_INVALID_FORMAT = 1;
A token cannot be converted to the declared input type. Common causes:
itInteger:
characters other than digits and a sign, a decimal point, an exponent, a
hexadecimal form (3.14, 3e4,
$1F).itDecimal / itFloat: a token with both
. and , (1,234.5); for
itFloat, an absolute value above the Double
maximum (about 1.8E308), NAN or
INF.itBoolean: a word
that is not one of the accepted aliases.itDate: no recognized
format matches.itTime: not
hh:mm, hh:mm:ss or
hh:mm:ss.f[ff[fff]]; a dot with no digits; more than 6
fractional digits or a non-digit after the dot; AM/PM with fractional
seconds.itDateTime: the
date or the time part fails.R := ParseInput('3.14', itInteger);
// R.ResultType = otInvalid
// R.ErrorCode = ERR_INVALID_FORMAT