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

TInt64Helper.TryParse

Try to convert a string to a Int64, report success or failure

Declaration

Source position: syshelph.inc line 543

public class function TInt64Helper.TryParse(

  const AString: string;

  out AValue: Int64

):Boolean;

Description

TryParse attempts to convert the string AString to a Int64, and reports the success of the attempt. If the attempt is successful, then True is returned, and the actual value of the Int64 is returned in AValue.

It uses the val function to perform the conversion, so no localization is taken into account.

See also

TInt64Helper.Parse

  

Convert from a string

Val

  

Calculate numerical/enumerated value of a string.


Documentation generated on: Jun 23 2021