13 : '(y, x) $ ( 52 ? 52 )'

Gives you the same

2010/3/1 Bo Jacoby <[email protected]>:
>
> NB. this does not work:
>
>    3((], [) $ (52?52))2
> |syntax error
> |       3((],[)$(52?52))2
>
> NB. naming the constant
>    a=.(52?52)
>
> NB. doesn't help:
>    3((],[)$a)2
> |syntax error
> |       3((],[)$a)2
>
> NB. but switch the function and the constant:
>
>    3(a$~(],[))2
> 46 10 32
>  2 12  3
>
> NB. make another switch:
>
>    3(a$~([,~]))2
> 46 10 32
>  2 12  3
>
> NB. and then remove the square brackets:
>
>    3(a$~,~)2
> 46 10 32
>  2 12  3
>
> -Bo
>
> --- Den man 1/3/10 skrev Elmer Fittery <[email protected]>:
>
> Fra: Elmer Fittery <[email protected]>
> Emne: Re: [Jprogramming] tacit confusion
> Til: [email protected]
> Dato: mandag 1. marts 2010 15.27
>
>
> dealx =: (4 : '(y, x) $ ( 52 ? 52 )')
>
> Thanks a lot.
>
> I found reference to dealx at jsoftware.com, but it seemed
> to be removed from the language sometime in 2000.
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
> __________________________________________________
> Bruger du Yahoo!?
> Er du træt af spam?  Yahoo!Mail har den bedste spambeskyttelse, der findes
> http://dk.mail.yahoo.com
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði
Po Box 127,801 Selfoss ,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
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