PPL programming question; local variables
|
02-13-2014, 07:01 AM
Post: #6
|
|||
|
|||
RE: PPL programming question; local variables
I am not sure if Han recommends re-declaring local vars outside and as parameters with the same name. You can do what you tried to do using another names for the parameter.
Anyway in general terms, you should avoid global vars, and unnecessary function calls (if the function is a couple lines and it is called once, then it shouldn't be a function, but also 'very lengthy functions' aren't good anyway). My website: ried.cl |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)