Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 need a way to output a variable value from a module
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JayLo




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
JayLo




PostPosted: Tue Jun 03, 2003 9:41 pm   Post subject: (No subject)

right. thanks a bunch.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: