Fixed for next beta.  If a name that was not detected as locally assigned during definition is looked up, the local lookup is bypassed if no new private name has been assigned in the namespace.  The error was that the no-new-name condition was inspected only at the start of the sentence.  Thus in this example, where the name was defined earlier in the same sentence, the lookup was erroneously bypassed.  The value was correctly assigned and would be available on subsequent lines.

Henry Rich

On 3/3/2023 12:37 AM, Raul Miller wrote:
    (;:'this is a test') {{ test [ echo nc<'test' [ (x)=. y}} i.4
0
|value error: test
|       test[echo nc<'test'[(x)=.y

FYI,


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

Reply via email to