function StrToInt(s: string): Longint;
The StrToInt function converts the string passed in S into a number.
Use of StrToIntDef instead of StrToInt is recommended.