Well, I've changed my default H spec to NOUNREF.

If I have any issues, I'll see you next Tuesday while you and Susan are
doing training at our LUG.

:)



On Fri, Apr 6, 2012 at 2:25 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:


On Apr 6, 2012, at 1:00 PM, rpg400-l-request@xxxxxxxxxxxx wrote:

Is there any downside to making NOUNREF the default? I have read you
can't
debug a variable that's not used in the program if NOUNREF is specified,
but if the variable isn't used I'm not sure how often one would need to
see
the value when it isn't even used . . .

Oh right - it was V6 wasn't it.

Anyway - the debug thing is the only downside. Only reason I can think of
to need to see such a field in debug is to establish exactly which record
you were looking at. Perhaps none of the fields you "used" were unique so
...

Pretty unlikely scenario and one easily fixed.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com




--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].