TAL Reference Manual

Compiler Directives
TAL Reference Manual526371-001
16-25
Example of CROSSREF Directive
Example of CROSSREF Directive
This example makes changes to the current class list and turns the collection and
listing of cross-references on and off:
!Default LIST and NOSUPPRESS are in effect;
! list cross-references.
?CROSSREF, CROSSREF UNREF, NOCROSSREF VARIABLES
!Collect cross-references
NAME test;
INT i;
?NOCROSSREF !Do not collect cross-
BLOCK PRIVATE; ! references
INT j;
END BLOCK;
?CROSSREF, CROSSREF VARIABLES !Collect cross-references
PROC p MAIN;
BEGIN
!Lots of code
END;
?SUPPRESS !Do not list cross-
PROC q; ! references
BEGIN
!More code
END;
?NOSUPPRESS !List cross-references
DATAPAGES Directive
DATAPAGES sets the size of the data area in the user data segment.
num-pages
is the number of 2048-byte memory pages to allocate for the object file’s data area
in the user data segment. Specify an unsigned decimal constant in the range 0
through 64.
If you specify an out-of-range value, BINSERV sets
num-pages to 64.
If you specify an insufficient amount or omit DATAPAGES, BINSERV allocates enough
memory pages for global data and two times the data stack space needed for local
data.
VST1612.vsd
num-pages
DATAPAGES
=