Public assignment to a name already defined privately is a domain error.
Public assignment to an undefined name that you want to be local is a programming error.
I don't understand what you want the interpreter to do. Henry Rich On 6/15/2020 12:23 PM, Arthur Anger wrote:
I recently spent some time puzzling over a syntax error in an "obviously" correct phrase. It took some time to recognize that the error lay in attempting Global assignment to a Local variable. It's not only for newcomers that it would be helpful to have that discrepancy reported specifically as a Localization error. I suppose that there may also be some conditions meriting a Locale error, dealing with mis-specification or mis-application of locale, a mostly invisible aspect of execution. --AA ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- 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
