Mail Archives: djgpp/2004/07/21/04:15:25
ahhh..
I think I figured out where the problem is.
Yes, it was probably a program bug, mea culpa.
Earlier this morning I would have bet
3:1 that it's not !
I have always been using things like
R[99}={0};
thinking that all 99 entries of the array are initialized with 0, but
apparantly only the
first value is zero while the others are undefined and (almost) unpredictable.
Still strange to watch, how compiler switches
or small program changes influence
the (non-)initialized values of R[]
when the program is run.
Amazing, that so many of my programs worked correctly in the past, although
I often used this "bug".
--Guenter.
- Raw text -