If you attempt to write an undefined variable to a file, eg
WRITE undef on FILEVAR,ID THEN
It debugs, as it should, but does not show the line of code or event where the error occurs, making the location of the error just that little bit trickier.
Colin Rule
That would be because the ERROR occurs in RTP57 and tis is not linemarked or source provided.
World Leaders in all things RevSoft
So what, problem still exists.
IF OI is going to compete with other languages, and move forward, then such issues need resolving and not excuses.
I agree Colin…
Although other products I use actually tell you at time of compliation that there is an unassigned variable.
Source code being…
A=1
B=2
C=D
STOP
END
An example of the error message is "WARNING: Variable 'D' never assigned a value."