[Maxima] bug in maxima?
robert.dodier at gmail.com
Thu Mar 6 09:54:22 CST 2008
On 3/6/08, Jan Brosius <jan.brosius at skynet.be> wrote:
> for q1:-10 while q1<3 do for q2:-10 thru 10 while q2>4 do print([q1,q2]);
> then Maxima doesn't print the [q1,q2] values.
Well, in something like for q2:-10 thru 10 while foop(q2) do (...)
the loop is never executed if foop(q2) is false for the first value
of q2. The loop doesn't continue until foop(q2) becomes true.
I think it is working as intended, but clearly different people
intend different things.
Perhaps for q2:-10 thru 10 do if q2>4 then (...) has the effect you want.
More information about the Maxima