Hi,
I have a dyadic verb I wish to apply to x and y where x>y and 0<x<24, 0<=y<x.
I want to be able to apply the verb to every single possible pairing of x and y
that is legal (i.e. where x>y).
If it were C I would just do:
for(x=1;x<24;x++)
for(y=0;y<x;y++)
{
// do verb on x and y
}
So I need an equivalent to that basically, in J.
Any help would be appreciated.
Thanks.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm