TSmallIntHelper.Parse¶
Convert from a string.
Declaration¶
Source position: syshelph.inc line 1030
public
class function TSmallIntHelper.Parse(const AString: string) : SmallInt
; static;
Errors¶
If the string does not contain a valid SmallInt value, an EConvertError exception is raised.
See also¶
| Name | Description |
|---|---|
| TSmallIntHelper.ToString | Convert the value to string. |
| TSmallIntHelper.TryParse | Try to convert a string to a SmallInt, report success or failure. |
| StrToInt | Convert a string to an integer value. |