
-----------------------------------
hskhan
Mon Jun 16, 2003 10:07 pm

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.

-----------------------------------
Prince
Mon Jun 16, 2003 11:04 pm


-----------------------------------
isnt this on another post :? 

note: yay me for 300 posts (wat a waste)

-----------------------------------
krishon
Tue Jun 17, 2003 9:34 am


-----------------------------------
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
Tue Jun 17, 2003 5:50 pm


-----------------------------------
but make sure you declare all ur variables and procedures in one file, and then include some other stuff

ex.
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
Tue Jun 17, 2003 5:51 pm


-----------------------------------
Or, if your really really lazy(like me :D ), 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
