Contents | Next
1.1 New built-in types
The following built-in types have been added to Irie Pascal. These new built-in types have
been added to make calling Windows API functions/procedures easier.
New built-in types:
- single - four byte floating point data type.
- double - eight byte floating point data type. This type is synonym for real.
- shortint - two byte signed integer data type.
- shortword - two byte unsigned integer data type.
- address - An operating system address. Irie Pascal usually generates and
uses virtual machine addresses which are not meaningful to external functions/procedures. When
passing a variable by reference to an external function/procedure, Irie Pascal will automatically
convert the address of the variable from a virtual machine address to an operating system
address. This automatic conversion is usually enough to allow you to call external
functions/procedures. However in some cases additional work is necessary, for
example when the external function/procedure expects to pass operating system addresses back
to you. In those cases it may be necessary to declare the variable or the component of the
variable that will contain the operating system address, to be of type address.
See the Irie Pascal Programmer's Reference Manual for more information.
Contents | Next