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.

Newcomers DBPro Corner / public variables

Author
Message
Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 7th May 2007 02:15
I want to have public variables controlling things like health, but I don't know how to do that. I thought I saw a tutorial on variable types, but I can't find it know that I need it. I tired the Google search too, but I can't seem to get anywhere.

Assuming that there is no public variable, is the only way to pass more than one variable out of a function to make it a sub instead?

Any help would be appreciated.
Thx!

"There will always be evil, for, without evil, the good shall lose their virtue."
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 7th May 2007 02:37
I think you mean Global variables.



Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 7th May 2007 02:47
No wonder I dindn't see anything about public variables...

Thx, Zotoaster

"There will always be evil, for, without evil, the good shall lose their virtue."

Login to post a reply

Server time is: 2024-09-26 22:58:28
Your offset time is: 2024-09-26 22:58:28