Seems like a silly option to have when *UNREF should be the default. Why allocate something if it is never referenced?

-----Original Message-----
From: Alan Campin [mailto:alan0307d@xxxxxxxxx]
Sent: Monday, October 08, 2012 12:02 PM
To: Midrange Systems Technical Discussion
Subject: Re: *UNREF

Just tells the compiler to not leave any variable in memory that are not be used. If I defined a variable named Variable1 but did not use it it still would have storage allocated to even though it was never referenced. With *UNREF, no storage is allocated.

On Mon, Oct 8, 2012 at 9:58 AM, <rpglist@xxxxxxxxxxx> wrote:

I what this option is supposed to do, but I'm wondering why it doesn't
remove the variables from the compiler listing as well?



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.





Return to Archive home page | Return to MIDRANGE.COM home page