Frank D. Engel, Jr. wrote:
The strange thing is that sometimes the problem can be fixed by sticking extra WRITELNs in between various lines of code. So for example, if I am having trouble and think the following code is at fault:
x := SomeFunction(y, z); DoSomethingTo(x);
I might change it to:
WRITELN('1'); x := SomeFunction(y, z); WRITELN('2'); DoSomethingTo(x); WRITELN('3');
and sometimes this fixes the problem (but of course, I don't want that extra output...)
Any ideas/fixes/patches?
Like Adriann said, without a reproducing case, we can't help you much. It may be a GPC bug, it may also be a bug in your code (think of undefined values). Chances that it will be fixed by accident (if it's a GPC bug at all) are minimal.
Frank