_ 0 0 as the result of 0 100 100#:_ is hard to justify,
as is x|_ giving 0 for nonzero x .



----- Original Message -----
From: Anssi Seppälä <[EMAIL PROTECTED]>
Date: Sunday, March 16, 2008 9:10
Subject: Re: [Jprogramming] Handling NaN error with #:_
To: Programming forum <[email protected]>

> 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