|
Re: i would like your opinion on my programs
Quote:
|
Originally Posted by Ian W.
In general though, it's a good habit to declare anything and everything you'll possibly need for the function in the first lines of the function, rather than spread out amongst the random executed lines. It makes the code so much easier to read ;-).
|
Just a FYI...
Some complilers will give you errors if you begin assigning values to variables and then try to declare another variable. Therefore, it is extremely important to declare all variables at the top of the function.
__________________
"FIRST is like bling bling for the brain." - Woodie Flowers
|