'a b c' =: 1 2 3 NB. boxes not needed

   t  NB. quoted doubled `single quotes' make a quote.
3 : ' ( -: a) + b + (+: c) [ ''a b c'' =. y'


Date: Mon, 4 Nov 2013 13:53:23 -0800 (PST)
From: Pascal Jasmin<[email protected]>
To:"[email protected]"  <[email protected]>
Subject: [Jprogramming] weird syntax  error
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=iso-8859-1

I'm likely doing something silly, but I just don't see the mistake: ?

?(-: a)+b++:c [ 'a b c' =. ;/ 1 2 3
8.5
? ?t =. 3 : ' ( -: a) + b + (+: c) [ 'a b c' =. y'
|syntax error
| ? (-:a) ? ?+b+(+:c)[

is it trying to form a train with [ as the rh most verb?


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

Reply via email to