Is this correct?

   3 : 'try. 2+ catch. _ end.'0
_

     3 : 'try. if. qq do.1 else.2 end. catch. _ end.'0
|control error
|       3 :'try. if. qq do.1 else.2 end. catch. _ end.'0
|[-0]

2008/2/22, Oleg Kobchenko <[EMAIL PROTECTED]>:
>
> 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
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |        (\_ _/)
  (`-.  '--.)       (='.'=)
   `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to