quick questions...
Author |
Message |
haujobb
|
Posted: Tue Apr 01, 2003 11:02 am Post subject: quick questions... |
|
|
1. Is it possible to make global variables such as in C.
2. Is it possible to have one procedure call another? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Prince
![](http://www.angelfire.com/hiphop3/m-unit_hustla/images/fxckpare.jpg)
|
Posted: Tue Apr 01, 2003 11:17 am Post subject: (No subject) |
|
|
from stuff ive done, both r possible... to create global variables, jus declare them b4 everything else (procedures, functions, etc.) and i assume u already kno how to call to a procedure |
|
|
|
|
![](images/spacer.gif) |
haujobb
|
Posted: Tue Apr 01, 2003 11:37 am Post subject: (No subject) |
|
|
I'm implimenting a gui rite now and i have the button set to call a function which passes some variables to another function...
i think im doing too much work but it seems to be the only way to not get error messages, but when you hit the button nothing happens... |
|
|
|
|
![](images/spacer.gif) |
Asok
![](http://www.battle.net/war3/images/neutral/units/animations/pandarenbrewmaster.gif)
|
Posted: Tue Apr 01, 2003 5:06 pm Post subject: Do not post general topics. |
|
|
Please read the announcement on not posting general topics.
As far as global variables are concerned you don't need them. Considering your "workspace" consists of one file a global variable is simply any variable declared before any code. |
|
|
|
|
![](images/spacer.gif) |
|
|