Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TryStrToUInt64

Try to convert a string to an unsigned 64-bit integer, and report on success.

Declaration

Source position: sysstrh.inc line 146

function TryStrToUInt64(

  const s: string;

  out u: UInt64

):Boolean;

Description

TryStrToUInt tries to convert the string S to an unsigned 64-bit integer (a Cardinal), and returns True if this was successful. In that case the converted unsigned integer is returned in U. 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

StrToInt

  

Convert a string to an integer value.

TryStrToInt

  

Try to convert a string to an integer, and report on success.

TryStrToInt64

  

Try to convert a string to an int64 value, and report on success.

StrToIntDef

  

Convert a string to an integer value, with a default value.

StrToInt64

  

Convert a string to an Int64 value.

StrToInt64Def

  

Convert a string to an Int64 value, with a default value.


Documentation generated on: Dec 24 2024