It has just struck me that a lot of people could have their debugging
problems reduced if the default version of prwarning were changed to
print out the file nae and the line number as well as the variable
being declared. Something like this:
define prwarning(word);
printf(word, ';;; DECLARING VARIABLE %P\n');
if popfilename then
printf(popfilename, ';;; IN FILE %P\n');
endif;
if isinteger(poplinenum) then
printf(poplinenum, ';;; LINE %P\n');
endif
enddefine;
xyxyx =>
;;; DECLARING VARIABLE xyxyx
;;; IN FILE /home/staff/axs/test5
;;; LINE 45
** <undef xyxyx>
Shouldn't that be the system default?
Aaron
|