I note two possible bugs in the documentation I quoted:
> must be a noun in the 3 : and 4 : cases.
This should possibly include 13 : . Though the phrase "otherwise equivalent
to 3 : n" in the description of that case might cover it (because the
"otherwise" of 13 : does not contain "last-non-test block sentence").
> syntax error (if) the result of a sentence is not a
> noun/verb/adverb/conjunction;
What about sentences which produce no result (*)? For example, this sentence
does not produce a NVAC yet it does not produce a syntax error:
NB. Hi. I'm a valid J sentence.
-Dan
(*) http://www.jsoftware.com/jwiki/System/Interpreter/Bugs#do_without_result
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm