TryStrToUInt function
Try to convert a string to an unsigned integer, and report on success.
Declaration
function TryStrToUInt(const s: string; out C: Cardinal): BooleanDescription
TryStrToUInt tries to convert the string
S to an unsigned 32-bit
integer (a
Cardinal), and returns
True if this was successful.
In that case the converted unsigned integer is returned in
C. If the conversion failed,
(an invalid string, or the value is out of range) then
False is returned.Errors
None. On error,
False is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
