I don't know exactly what Brian is referring to, but sometimes
parentheses are needed around modifiers to make the parse right. See
JfC chapter 39, just before 'Undefined Words'.
Henry Rich
On 9/16/2013 2:19 PM, Roger Stokes wrote:
May I make a suggestion. I would be inclined to say that
A =: B
is an assignment, and the interpreter suppresses output for an
assignment, while
(A =: B)
or
[ A =: B
are not themselves assignments, they are merely expressions which happen
to contain assignments, and so the interpreter displays a value.
An expression is assignment iff the last rule invoked in the evaluation
process is the "assign" rule.
Regards
----- Original Message ----- From: "Brian Schott" <[email protected]>
To: "General forum" <[email protected]>
Sent: Monday, September 16, 2013 5:43 PM
Subject: Re: [Jgeneral] Bug in adverb define
The main difference in the results was that extra finishing steps were
required to process the outside parens. But I still do not understand why
the parenthesized version produces output.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm