May 16, 2024, 04:36:04 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Non-used variables

Started by Brian, May 11, 2011, 02:03:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

Hi,

I was under the impression, and I'm sure I have seen a message at one time,
that if you defined a variable, and subsequently it was never used in your code,
that you got a message about the fact when compiling

Am I right? (or hopelessly wrong!)

Would be a nice feature. I've just found four variables in my program which
were unused, but had to do a Find to check

Brian

Bruce Peaslee

At one point that was so, at least that's how I remember it.
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

mrainey

Emergence displays "Warning: unreferenced local variable: variable name"
Software For Metalworking
http://closetolerancesoftware.com

Brian

That's it, Mike!

I knew I had seen it somewhere. Would be a nice feature to have
in IWB2, as well

Brian