From RAD Studio API Documentation
Jump to: navigation, search


class function Parse(const S: string): Byte; static;


Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TByteHelper


Converts a string to a Byte value.

Parse converts the string specified by S to a Byte.

The Parse method of TByteHelper raises the EConvertError, if the string S is not a valid number, or out of range of the Byte type.

Note: For details on how the conversion is done, see the description of StrToInt.

See Also