title: Maxima For Loop
body: <p>I am trying to write a loop in maxima that will iterate i through values of 1 to 21, for each individual value of i the variable j is is iterated through values of 1 to 21. At every value of j the two are compared against each other and if i
  
  <pre><code>for i:1 while i&lt;=21 do(for j:1 while j&lt;=21  do 
  (if i&lt;j then aa:realpart(c1[-j+i+21]))) and do aa1:makelist(aa,i,1,21,1);
  </code></pre>
  
  <p>Nothing even shows up on wxmaxima, it acts like it does not see this part of the code.
  Any thoughts?</p>