The DD is converted before parsing into an explicit definition. Inside the DD is a separate namespace from outside it.

Henry Rich

On 10/21/2020 10:08 AM, Don Guinn wrote:
I am curious about the scope of names. Is it that a direct definition
within an explicit definition does not hide the local names previously
defined in the explicit definition except for the names m, n, u, v, x and
y? And any local names defined (other m, n, u, v, x and y) in the direct
definition exist afterward in the explicit definition?

On Tue, Oct 20, 2020 at 6:28 PM Raul Miller <[email protected]> wrote:

Yes.

Thank you,

--
Raul

On Tue, Oct 20, 2020 at 7:21 PM Henry Rich <[email protected]> wrote:
I can give you multiline noun DDs but the contents must follow J word
formation and fit into the DD syntax.  In other words, if {{)n contains
other {{, they are going to be treated as starting nested DDs.

This will be adequate for the example you gave, and for most uses I
expect.
Henry Rich

On 10/20/2020 5:36 PM, Raul Miller wrote:
Nice, thank you.

That said....  one line noun DDs by themselves are silly. But they
would address an issue with nested quotes -- so they would not be
entirely silly.

Thanks again,


--
This email has been checked for viruses by AVG.
https://www.avg.com

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

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

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

Reply via email to