Oxygen Basic

Programming => Bugs & Feature Requests => Topic started by: Arnold on March 20, 2015, 01:07:05 PM

Title: Problem with MandeltextB.o2bas
Post by: Arnold on March 20, 2015, 01:07:05 PM
Hi Charles,

I changed in examples\Math\MandelTextB.o2bas the putfile "m.txt",b statements to "m1.txt", "m2.txt" and "m3.txt" and no textfile was created. There are endless loops and the demo will not be terminated. "m.txt" is created by MandelTextA.o2bas.

Roland
Title: Re: Problem with MandeltextB.o2bas
Post by: Charles Pegge on March 20, 2015, 01:25:11 PM

Hi Roland,

Changing k++ to ++k in each loop will resolve the problem. But still requires a compiler fix.
Title: Re: Problem with MandeltextB.o2bas
Post by: Aurel on March 20, 2015, 01:38:55 PM
Quote
But still requires a compiler fix.
hi Charles
is this problem big or small..hmm ?
Title: Re: Problem with MandeltextB.o2bas
Post by: Charles Pegge on March 20, 2015, 02:42:43 PM
Small. 15 mins to trace the bug

k=0
j=0
if k++ > j then
end if

print k 'should be 1