The very original idea was to present dates as integers in form yyyymmdd like 20080316 and undefined future date as infinity _. To parse year month and day from this was easy 0 100 100#:20080316 => 2008 3 16. Also 0 100 100#:_ gave result _ 0 0.

Thanks to NaN error I must scan a lot of old code to make programs running again. So todayno is not the problem but #: with infinity is.

Anssi

At 15:48 16.3.2008, you wrote:
Hello Anssi;

The what: rewrite 'todayno' such that

  todayno _
_

The how: an exercise for the reader.

Isn't it that simple?

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

Reply via email to