-
scripting 101
Hi everyone,
I am trying to get deeper into scripting but I want to improve the noob way i do it until now.
Question:I have defined a variable — var mycomp in a function.
then I want to use that var mycomp to do more things in a second function.
Somehow — return mycomp; wont work. Should out it in the parameters of the second function or first? or get that var mycomp in a special way?I know this is basic, but I would be grateful to learn this now than later.