180
Pascal 4.0 User’s Guide
8
Value Parameters
In general, Pascal passes value parameters on the stack.
Simple Types without the
–xl
Option
Without the
-xl
option, simple types match.
The commands to compile and
execute
IntSetVar.p
and
IntSetVarmain.f
. The
output of this example depends
on the architecture of your
machine.
hostname% pc -c IntSetVar.p
hostname% f77 IntSetVar.o IntSetVarmain.f -lpfc -lpc
IntSetVarmain.f:
MAIN:
hostname% a.out
0 octal
(word 5)
0 octal
(word 6)
0 octal
(word 7)
612 octal
(word 8)
110 001 010
(binary, word 8)
876 543 210
(bit nos, word 8)
Содержание 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: ......