Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Ignorator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Germany
Posted: 27th Oct 2002 01:27
some stupid beginner's question:

how can i use global variables in functions?

the ignorator
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 27th Oct 2002 02:04
I believe the way you do it is just to use them...

It would be better (technically anyway) to pass these to your functions, if your not going to modify them.

Yes, I really am THAT good...
ChipOne
22
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Canada
Posted: 27th Oct 2002 02:56
here's a snippet using both:



hope it helps

-= i only do what my rice krispies tell me to do =-

Login to post a reply

Server time is: 2024-11-23 17:53:10
Your offset time is: 2024-11-23 17:53:10