Types and Variables
A structure representing a record in VB is actually named record in Pascal:
type TProduct = record ProductID : integer; Price : currency; end;
A Pascal enumerated type is not preceded by the keyword enum (required in VB):
type TSuit = (Hearts, Clubs, Diamonds, Spades);
In order to declare a variable in Pascal, use var Count : integer instead of Dim Count As Integer.