Computer Science Canada

Open .t File

Author:  hskhan [ Mon Jun 16, 2003 10:07 pm ]
Post subject:  Open .t File

I have two files, intro.t and game.t. How can I open game.t from intro.t? Perhaps create a new window and launch game.t. I cannot "include" it.

Author:  Prince [ Mon Jun 16, 2003 11:04 pm ]
Post subject: 

isnt this on another post Confused

note: yay me for 300 posts (wat a waste)

Author:  krishon [ Tue Jun 17, 2003 9:34 am ]
Post subject: 

i think u hafta include one file into the other then call it up in a procedure, there should be a tutorial on this.

Author:  AsianSensation [ Tue Jun 17, 2003 5:50 pm ]
Post subject: 

but make sure you declare all ur variables and procedures in one file, and then include some other stuff

ex.
code:
var a:int
var b:string
var c:array 1..10 of real

proc blah
end blah

save that as a .t file, and include that at the beginning of another program, cuz the function include will not let you declare anything procedures or whatnot in the file that you intend to include.

Author:  AsianSensation [ Tue Jun 17, 2003 5:51 pm ]
Post subject: 

Or, if your really really lazy(like me Very Happy ), and do not want to move everything that you already did before, then urn ur .t file into a executable, and then do Sys.Exec


: