- 2.2.8.5 -
TMT Pascal Language Description
Pascal Language Structure
ExpressionsTypecasts
Typecasts allow operands of one type to be converted to another type.
Typecasts are allowed on either values or variables. Typecasts on values
are restricted to ordinal and pointer types. The only restriction on typecasts
on variables is that the sizes of both types must be the same. The following
are examples of typecasts:
Integer('0')
Boolean(1)
DWORD(@BuffPtr)
Char(27)
Pointer($A0000)
|
|
|
Relational Operators |
Table of Content |
Operator Precedence |
- 2.2.8.5 -