Computer Science Canada Opening Turing one into another |
Author: | hskhan [ Mon Jun 16, 2003 9:05 pm ] |
Post subject: | Opening Turing one into another |
An interesting question. I have an intro.t file. I need it to load a game.t into intro.t. How? Thanks. |
Author: | Tony [ Mon Jun 16, 2003 9:12 pm ] | ||
Post subject: | |||
you use
it would work exactly the same way as if you would copy entire code and pasted that into a new file, but looks more organized. |
Author: | hskhan [ Mon Jun 16, 2003 9:52 pm ] |
Post subject: | |
thanks, but it gives me an error. how about opening a new window with the game.t file? what would the command be for that? thanks |
Author: | PaddyLong [ Mon Jun 16, 2003 10:35 pm ] |
Post subject: | |
type Window.Open in Turing editor and press f9 on it |
Author: | JayLo [ Mon Jun 16, 2003 10:40 pm ] | ||
Post subject: | |||
maybe a class or a module would help.
|
Author: | Andy [ Tue Jun 17, 2003 10:19 am ] |
Post subject: | |
you have make sure there are no overlaping variable names, you can't use the same variable in both files |
Author: | krishon [ Tue Jun 17, 2003 10:20 am ] |
Post subject: | |
ye, that's a good point |