260
Pascal 4.0 User’s Guide
A
The
%list
Directive
The
%list
directive enables a listing of the program.
Syntax
%list;
The module unit,
include_mod.p
module include_mod;
define
global, proc;
%include 'extern.h';
procedure proc;
begin
writeln('From PROC : ',global);
global := 1;
end; { proc }
The
include
file,
include.h
var
global : integer;
procedure proc; extern;
The commands to compile and
execute
ext_prog.p
and
ext_mod.p
hostname% pc -xl include_prog.p include_mod.p
include_prog.p:
include_mod.p:
Linking:
hostname% a.out
From MAIN, before PROC:1
From PROC
:
1
From MAIN, after PROC:2
Содержание 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: ......