help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

TryStrToInt64

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

Declaration

Source position: sysstrh.inc line 113

function TryStrToInt64(

  const s: String;

  var i: Int64

):Boolean;

Description

TryStrToInt64 tries to convert the string S to a Int64 value, and returns this value in I if successful. If the conversion was succesful, the function result is True, or False otherwise. The string can only contain numerical characters, and optionally a minus sign as the first character. Whitespace is not allowed.

Hexadecimal values (starting with the $ character) are supported.

Errors

None. On error, False is returned.

See also

StrToInt64

  

Convert a string to an Int64 value.

StrToInt64Def

  

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

StrToInt

  

Convert a string to an integer value.

TryStrToInt

  

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

StrToIntDef

  

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505