
-----------------------------------
Dragon20942
Sun Jan 23, 2011 8:44 pm

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!

-----------------------------------
ProgrammingFun
Sun Jan 23, 2011 9:03 pm

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
Sun Jan 23, 2011 9:23 pm

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 [tdoc]Sys.Exec[/tdoc], but not to source code files.

-----------------------------------
Dragon20942
Mon Jan 24, 2011 8:51 pm

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
Mon Jan 24, 2011 8:57 pm

Re: 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.

Wasn't your project due today? Or is it thru online submission until 12?

-----------------------------------
Dragon20942
Tue Jan 25, 2011 9:50 pm

RE:Ok... opening a new window!
-----------------------------------
Didn't bother because my teacher said it was fine in separate parts.
