StrToUInt function
Convert a string to unsigned integer value.
Declaration
function StrToUInt(const s: string): CardinalDescription
StrToUInt will convert the string
Sto an unsigned 32-bit integer.
If the string contains invalid characters or has an invalid format,
then an
EConvertError is raised.
To be successfully converted, a string can contain a combination
of numerical characters. Spaces are not allowed.
The string S can contain a number in decimal, hexadecimal, binary
or octal format, as described in the language reference.
For hexadecimal values, the prefix '0x' or 'x' (case insensitive) may be used as well.
Errors
In case of error, an
EConvertError is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
