Try to convert a string to a byte, report success or failure.
Source position: syshelph.inc line 881
public class function TByteHelper.TryParse( |
const AString: string; |
out AValue: Byte |
):Boolean; |
TryParse attempts to convert the string AString to a byte, and reports the success of the attempt. If the attempt is successful, then True is returned, and the actual value of the byte is returned in AValue.
It uses the val function to perform the conversion, so no localization is taken into account.
|
Convert from a string. |
|
Val |
|
Calculate numerical/enumerated value of a string. |