Pascal;
This seems to work:
(v^:u) x NB. I'm not 100% with precedence yet.
------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| [EMAIL PROTECTED] |
|\ | |If you cannot describe what you are doing
BSc(Math) UNBF'83 |as a process, you don't know what you're doing.
Sapere Aude | - W. E. Deming
Natural Born APL'er | Demo website: http://156.34.93.148/
-----------------------------------------------------(INTP)----{ gnat }-
----- Original Message -----
From: "Pascal Jasmin" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Thursday, September 21, 2006 10:12 PM
Subject: [Jprogramming] UpdateWhere conjunction
What would be a good definition for the following
conjunction, or a better way to achieve the same?
UpdateWhere=: 2 : 'if. u y do. v y else. y end.'
is there a tacit definition?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm