Re-using Variables
If I did something like this. In this order.
Code:
Is there any chance that it could display the same name twice? |
Re: Re-using Variables
No, it won't happen.
|
Re: Re-using Variables
Thank you.
|
Re: Re-using Variables
Having said that, "temp" is a TERRIBLE name for a variable. I'm hoping it was just a poor choice of random variable name to be used in the example. Variable names should always describe the type of data it holds.
|
Re: Re-using Variables
I second that Brad, or you'll end up with something like The Specialists.
|
Re: Re-using Variables
Oh, I have another question, sorry for the double-post.
Is the reason it doesn't work because you can only use ONE VARIABLE NAME in one function? |
Re: Re-using Variables
Not sure to fully understand what's your problem exactly.
|
| All times are GMT -4. The time now is 16:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.