I'd just like a little guidence with this one please. How (if you can) can I call a function in a function. The first function being outside the 2nd one. Example:
Function test1() {
...blah blah code.....
}
Function test2() {
call test1()
}
Thanks for any help. Sorry for the easy question.
This post was edited on 08-14-2006 at 10:32 AM by Black_Ice.
Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
RE: Call a Function within a Function
quote:Originally posted by davidt
Yes, functions are global and so can be called from anywhere. It's only the variables withinn functions that stay within the function.
Though you can carry it over to another function when you call upon that second function, you just have to put it between the brackets.