Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Open .t File
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hskhan




PostPosted: 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
Sponsor
sponsor
Prince




PostPosted: Mon Jun 16, 2003 11:04 pm   Post subject: (No subject)

isnt this on another post Confused

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




PostPosted: 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




PostPosted: 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




PostPosted: Tue Jun 17, 2003 5:51 pm   Post subject: (No 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: