For myself, I thought that local names are confined to locales, in that once
locale switched those local names will not be visible. But apparently, local
name and locales are orthogonal.
As usual, it is obvious once understood.
Roger Hui wrote:
Do you have any evidence that this misconception
(a script having its own locals) is universal?
Perhaps the extent of the misconception is due
to the fact that the J IDE itself uses "load"
and other explicitly defined tools like "script"
(e.g. to implement "Run|Window"), and 0!:n
are seldom used on their own.
I do not think that the documentation that I am
responsible for (dictionary, release notes) would
say that a script has its own locals.
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm