The FORTRAN–Pascal Interface
195
8
Variant Records
You can construct FORTRAN equivalents of variant records. There is some
variation with architecture, and sometimes you need to adjust the alignment.
The commands to compile and
execute
StruChr.f
and
StruChrmain.p
hostname% f77 -c StruChr.f
StruChr.f:
struchr:
hostname% pc StruChr.o StruChrmain.p -lpfc -lF77
hostname% a.out
v.chrstr = "oyvay"
v.nbytes = 5
Содержание SunSoft Pascal 4.0
Страница 14: ...xiv Pascal 4 0 User s Guide ...
Страница 16: ...xvi Pascal 4 0 User s Guide ...
Страница 30: ...6 Pascal 4 0 User s Guide 1 ...
Страница 160: ...136 Pascal 4 0 User s Guide 6 ...
Страница 268: ...244 Pascal 4 0 User s Guide 11 ...
Страница 320: ...296 Pascal 4 0 User s Guide B ...
Страница 331: ...Index 307 ...
Страница 333: ......