Joey Tuttle wrote:
|
|    ]d =.  20080102 ; 20080104 ; 20080106
|+--------+--------+--------+
||20080102|20080104|20080106|
|+--------+--------+--------+
|
|    1&todayno &.> d
|+-----+-----+-----+
||75971|75973|75975|
|+-----+-----+-----+

But when I try this, I get this (x is the date row in the boxed array):

   xx =: x   NB. to "play it safe" with "x" and "y"
   x2 =: 1&todayno &.> xx
|domain error: todayno
|   a=.0 100 100    #:a

What's my problem?  Thanks!

Harvey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to