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

TNativeIntHelper.Parse

Convert from a string.

Declaration

Source position: syshelph.inc line 1434

public class function TNativeIntHelper.Parse(

  const AString: string

):NativeInt;

Description

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

Errors

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

See also

TNativeIntHelper.ToString

  

Convert the value to string.

TNativeIntHelper.TryParse

  

Try to convert a string to a NativeInt, report success or failure.

StrToInt

  

Convert a string to an integer value.


Documentation generated on: Oct 27 2024