Table of Contents

Advertisement

noft Options
The pTAL program in
unresolved and unreferenced. The program also refers implicitly to the function
stop. The program uses the function unresolved, but does not use the function
unreferenced.
Example 5-23. pTAL Program for
INT proc unresolved (arg); ! Function definition
INT arg;
EXTERNAL;
INT proc unreferenced (arg); ! Function definition
INT arg;
EXTERNAL;
INT proc unused (arg);
INT arg;
BEGIN
RETURN (arg + 2);
END;
PROC mainstreet MAIN;
BEGIN
INT i, j;
i := 5;
j := unresolved(i);
END; !Implicit call to stop
If the program in
is designated to noft with the option
shows the result of the LISTUNREFERENCED option. Compare

Example 5-29

Example 5-24. LISTUNREFERENCED Option for
noft> listunreferenced *
#
Unreferenced Name
1
UNREFERENCED
Example 5-23
Example 5-23
is compiled and made executable, and the program file
on page 5-37, which shows the result of the LISTUNRESOLVED option.
nld and noft Manual—520384-003
explicitly declares two external functions,
Example 5-24
and
Example 5-29
FILE or F
on page 5-15, then
Example 5-23
5- 33
LISTUNREFERENCED or LUR
Example 5-24
Example 5-24
to
pTAL Program

Advertisement

Table of Contents
loading

This manual is also suitable for:

Noft

Table of Contents