need a way to output a variable value from a module
Author |
Message |
JayLo
|
Posted: Tue Jun 03, 2003 6:08 pm Post subject: need a way to output a variable value from a module |
|
|
how do to it: need a way to output a variable value from a module? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Tue Jun 03, 2003 6:56 pm Post subject: (No subject) |
|
|
well you could export the variable.
module name
export procedureName, variableName...
...
or if for some reason you cant do that, you can export a function that returns the value of the variable. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
JayLo
|
Posted: Tue Jun 03, 2003 9:41 pm Post subject: (No subject) |
|
|
right. thanks a bunch. |
|
|
|
|
![](images/spacer.gif) |
|
|