Great! This works too.   

   f=: 13 :'*:@+/y'
   g=: 13 :'([:*:+)/y'
   f
*:@+/

   g
([: *: +)/

Thanks 

Linda


-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of R.E. Boss
Sent: Sunday, February 05, 2012 7:53 AM
To: 'Programming forum'
Subject: Re: [Jprogramming] Another early morning exercise



> -----Oorspronkelijk bericht-----
> Van: programming-boun...@jsoftware.com [mailto:programming-
> boun...@jsoftware.com] Namens Linda Alvord
> Verzonden: zondag 5 februari 2012 13:12
> Aan: 'Programming forum'
> Onderwerp: [Jprogramming] Another early morning exercise
> 
> My goal has been to translate from expressions with  @  to ones without
it.
> 
(...) 
> 
> 
> Can you rewrite this without @ ?
> 
> 
> 
>    i=: 13 :'*:@+/x'
> 
>    i i.4
> 
> 456976
> 

   ([: *: +)/i.4
456976


R.E. Boss

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

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

Reply via email to