In comp.lang.c Qolin said:
"Thomas Koenig" wrote in message
I did use the compiler, but I never tried this feature.
As well as I know it, you are supposed to use it, for example, to
print out values of variables, not change them.
Under "Programming Considerations:"
"3. An error in a program should not be corrected within a debug
packet; when the packet is removed, the error remains in the
progran."
There is a DISPLAY statement, which generates output similar to
NAMELIST, but without the need for a separate NAMELIST statement.
(Why didn't that ever make it in to the standard?) As far as I can
tell, DISPLAY can only appear in a DEBUG packet.
Seems that the idea is to put all debugging statements in one
place (just before END) making it easier to remove when the buts
are fixed.
DEC instead used a feature where lines starting with D were
comments, except when a compiler debugging option was used.
One should be able to quickly search for, and remove, such lines
once debugging was done.
es which sets K (and, in consequence I) to 5 but only when a
Reminds me of the COMEFROM statement...
Stories are that COMEFROM was once added to a PL/I compiler, I
don't know about any Fortran compilers.
Especially interesting for Fortran would be the computed COMEFROM
statement.
-- glen