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

Username:   Password: 
 RegisterRegister   
 Ok... opening a new window!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Dragon20942




PostPosted: Sun Jan 23, 2011 8:44 pm   Post subject: Ok... opening a new window!

Is there any way to open a window of ANOTHER existing turing file?
I have my loading bar, title screen, and main program on different files, most of which use the same variables and I dont want to root through them. This will save me a lot of time as my assignment is due tomorrow!
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Sun Jan 23, 2011 9:03 pm   Post subject: RE:Ok... opening a new window!

Why don't you just put all of your procedures into one file and then import that into the main program?
If all of you things are processes, you do not have to worry about variable names....
Tony




PostPosted: Sun Jan 23, 2011 9:23 pm   Post subject: RE:Ok... opening a new window!

Scopes! Variables created inside of a procedure are local to just that procedure.

The "opening" that you might have in mind could be done for compiled programs with Sys.Exec, but not to source code files.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Dragon20942




PostPosted: Mon Jan 24, 2011 8:51 pm   Post subject: RE:Ok... opening a new window!

Ok thanks, I understand now. I just have to make a small loop structure involving calling processes in addition to creating the processes themselves.
ProgrammingFun




PostPosted: Mon Jan 24, 2011 8:57 pm   Post subject: Re: RE:Ok... opening a new window!

Dragon20942 @ Mon Jan 24, 2011 8:51 pm wrote:
Ok thanks, I understand now. I just have to make a small loop structure involving calling processes in addition to creating the processes themselves.


Wasn't your project due today? Or is it thru online submission until 12?
Dragon20942




PostPosted: Tue Jan 25, 2011 9:50 pm   Post subject: RE:Ok... opening a new window!

Didn't bother because my teacher said it was fine in separate parts.
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  [ 6 Posts ]
Jump to:   


Style:  
Search: