To run explicits as one-liners:

   3 : 'if.1 do.1 else.2 end.'0
1

   3 : 'if.0 do.1 else.2 end.'0
2

   3 : 'if.qq do.1 else.2 end.'0
|control error
|       3 :'if.qq do.1 else.2 end.'0


--- Tracy Harms <[EMAIL PROTECTED]> wrote:

> Short ones like this can also be defined in a single line, with appropriate 
> quote-management:
> 
> test=: 3 : 'if. 1 do. wdinfo ''success'' end.'
> 
> But Bill's pattern is certainly very good to learn for use in the console. 
> Thanks, Bill, it was
> news to me.
> 
> 
>       
> ____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search. 
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to