[Tutor] Functions !
Tue, 28 Aug 2001 23:39:00 -0400 (EDT)
On Tue, 28 Aug 2001, Dutch wrote:
> I am -guessing- that the part of the program that calls on the function is
> sending a variable to be processed in the function and it is getting
> dumped in c_temp or f_temp. If thats the case, they why is it that the
> original variable is not used, in this case "temp"?
For clarity. 'temp' can still be used, but '[cf]_temp' is clearer.
> I'm guessing here too that many parts of a program with all their
> different variables can call the funtion so no one absolute vaiable can be
> used so this "dummy" (c_temp or f_temp) is used and I must therefore be
> careful not to use the same label (variable) anywhere else in my program.
Wrong. The variable only exists within the function.
Ignacio Vazquez-Abrams <email@example.com>