About ten years I have been happy with J's infinity _ and its behaviour with the primitives and dates presenting open time intervals. Now J602 makes error (I have no idea why) that I find very difficult to workaround in the existing code. For example time interval starting today and no end defined can be represented with two numbers 20080315 _. The conversion to J day numbers was easy in J601:

   load 'dates'
   todayno 0 100 100#:20080315 _
76044 _

but in J602:
   load 'dates'
   todayno 0 100 100#:20080315 _
|NaN error
|   todayno 0 100 100    #:2.00803e7 _

The error is result from 0 100 100#:_

Any ideas how 0 100 100#:20080315 _ and similar lines should be rewritten in J602 without NaN error ?

Anssi

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

Reply via email to