Re poj's contribution -- it works (and, ++ for following the OP's code while correcting it). But it seems unnecessarily complicated in comparison with suggestions in prior answers. On the face of the OP's problem, there's no need to use an array here.
In reply to Re^2: Cannot print line
by ww
in thread Cannot print line
by nimpoura
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |