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

Username:   Password: 
 RegisterRegister   
 quick questions...
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
haujobb




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




PostPosted: 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
haujobb




PostPosted: 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...
Asok




PostPosted: 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.
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  [ 4 Posts ]
Jump to:   


Style:  
Search: