On Wed, Dec 15, 2010 at 1:08 PM, bob therriault <[email protected]> wrote:
> Hi Viktor,
>
> I seem to get a syntax error from your definitions.
He left out a few parenthesis:
> On 2010-12-15, at 4:23 AM, Viktor Cerovski wrote:
>> av2t =: ("_)(`*`(-~))(`:6)
should be
av2t=: ("_)(`*)(`(-~))(`:6)
>> which can be simplified to:
>>
>> av2t1 =: ("_)(`*`-)(`:6)~
should be
av2t1=: ("_)(`*)(`-)(`:6)~
>> PS: Typed on a handheld device.
He would have caught these issues if he had had
a chance to test them when he was typing them in.
FYI,
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm