It's Roger Hui.

Henry Rich wrote:
The proper response to a question like that is "what business
is it of yours?".  Maybe he's passing the column to some verb that
he got from somebody else.  He just wants reliable, predictable
behavior of empties.  There shouldn't have to be any discussion
of motive.

But in case he didn't get the verb from somebody else:

{.!.0

works to coerce an empty to numeric type.

Henry Rich

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Hui
Sent: Monday, October 15, 2007 8:05 AM
To: Programming forum
Subject: Re: [Jprogramming] inverted table ifa

Why would you be doing overtake on a column of an inverted table?



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Sunday, October 14, 2007 23:05
Subject: Re: [Jprogramming] inverted table ifa
To: Programming forum <[email protected]>

fill element.
    6{.("1) 1{:: ifa 3 2$ 'ab';''
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0

Roger Hui wrote:
Why does it matter what the internal type of an empty array is?



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Sunday, October 14, 2007 19:59
Subject: [Jprogramming] inverted table ifa
To: Programming forum <[email protected]>

       ifa
<@(>"1)@|:

3!:0&> ifa 3
2$ 'ab';''
2 1

the literal empty was changed into boolean empty. why this happen and how to prevent it?

(tested on both j601 and j602)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

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


--
------------------------------------------------------------------------
|\/| Randy A MacDonald       | APL: If you can say it, it's done.. (ram)
|/\| ramacd <at> nbnet.nb.ca |
|\ |                         | The only real problem with APL is that
BSc(Math) UNBF'83            | it is "still ahead of its time."
Sapere Aude                  |     - Morten Kromberg
Natural Born APL'er          |
-----------------------------------------------------(INTP)----{ gnat }-



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

Reply via email to