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 youcan't
debug a variable that's not used in the program if NOUNREF is specified,see
but if the variable isn't used I'm not sure how often one would need to
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.
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,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives