Question: calling numbers after print...

Hello,

I have this loop:

> for j from 1 to T do
if pointsd[2][j+1]<pointsd[2][j] then print(j-1) fi;od;

                                 

The print gives me (correctly) 2 numbers: 59 and 124

and i need to use these numbers further but i dont know how to call them..

It would be great if i could made an array with these two numbers,like

H:=[59,124]

Is there a way to do this?

or at least a way to set them as H[1]:=59,H[2]:=124 for example..

 

thanx a lot!

 

Please Wait...