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

Username:   Password: 
 RegisterRegister   
 Help Needed
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
CyCLoBoT




PostPosted: Fri Apr 11, 2003 3:37 pm   Post subject: Help Needed

is there any command in Turing 3.1 that can let me open other turing programs from each other.

like
if button = 1 then
open demo.t
end if
Sponsor
Sponsor
Sponsor
sponsor
Prince




PostPosted: Fri Apr 11, 2003 4:23 pm   Post subject: (No subject)

im not sure of the answer to ur question but isnt creating a post called "help needed" not allowed??
CyCLoBoT




PostPosted: Fri Apr 11, 2003 4:37 pm   Post subject: (No subject)

sorry I didn't know about it
Blade




PostPosted: Fri Apr 11, 2003 4:59 pm   Post subject: (No subject)

you can include source files with include fileName
code:
include "somefile.t"

or execute files with Sys.Exec ( command : string) : boolean
code:
Sys.Exec ("filename.exe")
CyCLoBoT




PostPosted: Fri Apr 11, 2003 5:10 pm   Post subject: (No subject)

hey blade would u mind giving me an example. lets say I want to run demo.exe from my floppy, how would I use sys.exec?
Blade




PostPosted: Fri Apr 11, 2003 5:21 pm   Post subject: (No subject)

code:
if not Sys.Exec("a:/demo.exe") then
put "command failed"
end if


edit: it doesnt only have to be exe files, you can execute anything.. like avi's and other stuffs
Asok




PostPosted: Fri Apr 11, 2003 5:31 pm   Post subject: (No subject)

Locking this post due to the Help Topics Policy.
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  [ 7 Posts ]
Jump to:   


Style:  
Search: