| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Convert from a string
Source position: syshelph.inc line 415
public class function TShortIntHelper.Parse(  | 
const AString: string  | 
):ShortInt;  | 
Parse will attempt to convert the string AString to a ShortInt value. It uses the StrToInt function to perform the conversion, so no localization is taken into account.
If the string does not contain a valid ShortInt value, an EConvertError exception is raised.
  | 
Convert the value to string  | 
|
  | 
Try to convert a string to a ShortInt, report success or failure  | 
|
  | 
Convert a string to an integer value.  |