Compiler Cross Reference


 

The cross reference compiler option creates a report of each data definition name or program execution label, its type, line number of definition and all source line numbers that reference the symbol. The symbols are presented in alphabetical order. The format of each entry in the report is as follows:

 

{label} {type} {defined}* {referenced}, {referenced}, ...

 

Components:

label

The data definition name or program execution label.

type

A single character that indicates the symbol type as follows:

 

Type

Meaning

A

Admin

C

Const

D

Dim

E

Equate

F

Form

I

Integer

Onn

GUI Object - nn is the object type as defined in PLBEQU.INC

P

Profile

R

Record or Record Member

T

Verb

U

Undefined Data Type

V

Varlist

X

Execution label

a

AFILE

b

BFILE

c

COMFILE

d

DBFILE

f

FILE

i

IFILE

p

PFILE

v

VAR

x

XFILE

 
defined
The line number on which the symbol is defined. Lines within inclusion files will be indicated by the line number and the inclusion letter.
referenced
A source file line number that references the symbol. There may be no {referenced} entries if the data item or program label is not used in the program. All lines that refer to the symbol will be listed. Lines within inclusion files will be indicated by the line number and the inclusion letter.

Example Listing:

 

PAGE 1 testprog 07-11-99 10:01:27

BUFFER

 

D 278. * 308. 309. 316.

CHKALT

 

X ********* 102. 182.

 

 

   236. * 253.

CHKCMD

 

X ********* 98. 180.

 

 

   206. *

CHKINV

 

X ********* 101.

 

 

   220. * 252.

CKENVINI

 

X ********* 283.

 

 

   287. *

DIMPTR

 

D 277. * 281. 285. 290.
297. 303. 308.
314. 316. 316.  

EXTCHR

 

D 70. C*

INVALID

 

D 69. C* 221. C 221. C 226. C

228. C

 

 

See Also: Compiler and Runtime Options

 



Compiler and Runtime Options