On Tue, Mar 17, 2009 at 2:14 AM, Steven Taylor <[email protected]> wrote:
> v =. 13 : 'x (|:@:])`({.@:])`(_.$~(20, {.(@:$@:])} y'
> 20 v d
> |syntax error: v
> |   x(|:@:])`({.@:])`(_.$~(20,{.(    @:$@:])}y

   (|:@:])`({.@:])`(_.$~(20, {.(@:$@:])}
|syntax error
|   (|:@:])`({.@:])`(_.$~(20,{.(    @:$@:])}

You have an more left parentheses than right parentheses here.

If you reproduce my syntax error, you should see one of your
parentheses highlighted in pink -- the left parenthesis immediately
left of your _.

After that, note that the sub expression
   _.$~(20, {.(@:$@:]))
also is syntactically invalid.  Maybe you meant
    _. $~ 20 , {.@:$@:]
?

FYI,

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

Reply via email to