![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-549395189x1.png)
|
|
|
|
|
| 8 |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| Table | ||||||
|
|
|
|
|
| ||
| Pascal Type | FORTRAN Type | Size (Bytes) |
| Alignment (Bytes) | ||
|
|
|
|
|
|
|
|
| double | double | precision | 8 |
| 8 |
|
|
|
|
|
|
|
|
|
| longreal | double | precision | 8 |
| 8 |
|
|
|
|
|
|
|
|
|
| real | double | precision | 8 |
| 8 |
|
|
|
|
|
|
|
|
|
| single | real |
| 4 |
| 4 |
|
|
|
|
|
|
|
|
|
| shortreal | real |
| 4 |
| 4 |
|
|
|
|
|
|
|
| |
| integer16 | integer*2 | 2 |
| 2 |
| |
|
|
|
|
|
|
| |
| integer32 | integer*4 | 4 |
| 4 |
| |
|
|
|
|
|
|
| |
| integer | integer*4 | 4 |
| 4 |
| |
|
|
|
|
|
|
| |
logical*1, byte, or | 1 |
| 1 |
| |||
|
| character |
|
|
|
|
|
|
|
|
|
|
|
| |
| boolean | logical*1, byte, or | 1 |
| 1 |
| |
|
| character |
|
|
|
|
|
|
|
|
|
|
|
| |
| alfa | character*10 | 10 |
| 1 |
| |
|
|
|
|
|
|
| |
| char | character | 1 |
| 1 |
| |
|
|
|
|
|
|
| |
| string | character*80 | 80 |
| 1 |
| |
|
|
|
|
|
|
| |
| varying[n] | structure /v/ | - |
| 4 |
| |
| of char | integer*4 |
|
|
|
| |
|
| character*n |
|
|
|
| |
|
| end structure |
|
|
|
| |
|
|
|
|
|
|
|
|
| array | array |
| Same as element type |
|
| |
|
|
|
|
|
|
|
|
| record | structure |
| - |
| 4 |
|
|
|
|
|
|
|
|
|
Table
FORTRAN and Pascal with the
Table
Pascal Type | FORTRAN Type | Size (Bytes) | Alignment (Bytes) |
|
|
|
|
real | real | 4 | 4 |
|
|
|
|
integer | integer*2 | 2 | 2 |
|
|
|
|
Precautions with Compatible Types
This section describes the precautions you must take when working with character strings and array indexes.
The | 165 |