"Margus Ramst" <mar### [at] peak edu ee> wrote :
>
> #declare A=array[100]
> #declare N=dimension_size(A,1); file://Auto get the number of elements
> #declare C=0;
> #while(C<N)
> #declare A[C]=1;
> #declare C=C+1;
> #end
>
This is more or less what I was doing, I just wondered if there was
anything else to know. I hadn't got the dimension_size thing though, Thanks!
Post a reply to this message
|