[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Try to convert a string to a Cardinal, report success or failure
Source position: syshelph.inc line 452
public class function TCardinalHelper.TryParse( |
const AString: string; |
out AValue: Cardinal |
):Boolean; |
TryParse attempts to convert the string AString to a Cardinal, and reports the success of the attempt. If the attempt is succesful, then True is returned, and the actual value of the Cardinal is returned in AValue.
It uses the val function to perform the conversion, so no localization is taken into account.
|
Convert from a string |
|
|
Calculate numerical/enumerated value of a string. |