How to print the values of a recursive function



On 2012-11-23, Jianrong Li <lijr07 at gmail.com> wrote:

>    for k:0 thru 20 step 1 do
>          for n:0 thru 20 step 1 do
>               for l:0 thru 20 step 1 do
>                         Character[m*21*21*21+k*21*21+n*21+l]:0;

You can simplify this by using multiple indices instead of trying to
compute a single index into a 1-dimensional array.
E.g. Foo[i, j, k] instead of Foo[i*100 + j*10 + k].

best

Robert Dodier