next up previous contents
Next: Sample Program 6b Up: 繰り返し、二つ以上の条件式 Previous: 2つ以上のfor nextを使った繰り返し   Contents

Sample Program 6a

この例では、入れ篭になっているfor next loopでそれらの引数i, jのかけ算を 印字します。
\begin{code}
100 for i=1 to 9
110 for j=1 to 9
120 print i*j;
130 next j
140 print
150 next i
990 end
\end{code}



Takeyoshi Nagai 2013-10-07