Skip to content

TInt64Helper.Parse

Convert from a string

Declaration

Source position: syshelph.inc line 540

public 
  class function Parse(const AString: string) : Int64;  Static;

Description

Parse will attempt to convert the string AString to a Int64 value. It uses the StrToInt64 function to perform the conversion, so no localization is taken into account.

Errors

If the string does not contain a valid Int64 value, an EConvertError exception is raised.

See also

Name Description
StrToInt64 Convert a string to an Int64 value.
TInt64Helper.ToString Convert the value to string
TInt64Helper.TryParse Try to convert a string to a Int64, report success or failure