Nick

There are header options that control this behavior - something like that - so it might behave differently for you than for Jerry. Nothing to do with a particular debugger - STRISDB and STRDBG work against the same program object.

Vern

-------------- Original message --------------
From: Nick_Radich@xxxxxxxxxxxxxx

Jerry,

Not true.

"Now a really cool thing is that if you don't reference a field in the
program, and try to debug the program and try to display a non-referenced
variable, even though it is in the record read, that variable isn't
available to the debugger. That's because the compiler is smart enough to
know that an unreferenced variable isn't used and therefore shouldn't
waste memory. (How's that for preemptive garbage collection/prevention!)"

I just debugged a program, using STRDBG, that I am only using one field
from the file. I am able to display any field I choose from the file.

I believe with STRISDB that was true, though I am not sure.

I am on V4R5 (old):-)




Thanx,

Nick

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.