Open .t File
Author |
Message |
hskhan
|
Posted: 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. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Prince
|
Posted: Mon Jun 16, 2003 11:04 pm Post subject: (No subject) |
|
|
isnt this on another post
note: yay me for 300 posts (wat a waste) |
|
|
|
|
|
krishon
|
Posted: Tue Jun 17, 2003 9:34 am Post subject: (No 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. |
|
|
|
|
|
AsianSensation
|
Posted: Tue Jun 17, 2003 5:50 pm Post subject: (No 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. |
|
|
|
|
|
AsianSensation
|
Posted: Tue Jun 17, 2003 5:51 pm Post subject: (No subject) |
|
|
Or, if your really really lazy(like me ), 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 |
|
|
|
|
|
|
|