[Jprogramming] Bug/Inconsistency among namelist verbs from z locale
The Geeko
theGeeko61 at gmail.com
Mon Sep 26 22:50:21 HKT 2011
Marshall Lochbaum <mwlochbaum <at> gmail.com> writes:
>
> Step 1 is a problem. You never want to define global variables x and y . In
> fact, if you inspect the code for nl, you will find the line
You are right about the line... as I have confirmed. But my point is that this
is a flaw in the implementation of nl. For a more thorough discussion, see my
earlier reply regarding the inconsistency issue.
If nl is simply going to treat 'x' and 'y' special (in an ad-hoc fashion)...
then, for consistency, let's also treat 'm', 'n', 'u' and 'v' special. All 6 of
these are used within definitions -- but *not* reserved by the language
specification (as best as I can discern what that is).
At the very least, correct the issue with namelist, which currently (and
correctly so, imho) reports 'x' and 'y' thereby creating the "GOTCHA!"
experienced with nl and names.
More information about the Programming
mailing list