where to find a missing function error?
"James B. Byrne via Aubit4gl-discuss" <[email protected]> Fri, 18 Jun 2021 16:06:07 -0400
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
I created a simple 4gl program that calls one function. This function is not
defined in the 4gl program file. When I run 4glpc I get a compile error, as I
expect.
I have DEBUG set to ALL. With the error condition above this causes the
creation of two files: debug.4glc.out and debug.4glpc.out.
The missing function name is cust_menu2. When I search for this string in the
.out files I get this:
debug.4glc.out:3088:lexer.c 1025 dbg ( 0, 0,0) chk_word
() chk_word: read_word returns cust_menu2
debug.4glc.out:3089:lexer.c 1253 dbg ( 0, 0,0)
chk_word_more () p=cust_menu2 buff=cust_menu2
debug.4glc.out:3092:lexer.c 1412 dbg ( 0, 0,0)
a4gl_yylex () chk_word returns token=2302, buff=cust_menu2
state=1715 sql_mode=0
debug.4glc.out:3096:lexer.c 1558 dbg ( 0, 0,0)
a4gl_yylex () >>>>>0090 1 (2302) cust_menu2 code=0 fpos=2358
chk4var=0
debug.4glc.out:3097:lexer.c 1573 dbg ( 0, 0,0)
a4gl_yylex () lexer returns a=2302, buff=cust_menu2
When I look into debug.4glc.out I cannot find anything that I recognize as an
error condition reported. If I did not know beforehand what the function name
was then I would have no clue as to how to find what is missing.
To uncover the error what strings should I look for?
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Unencrypted messages have no legal claim to privacy
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:[email protected]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3