Computer Science Canada

Help Needed

Author:  CyCLoBoT [ 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

Author:  Prince [ Fri Apr 11, 2003 4:23 pm ]
Post subject: 

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

Author:  CyCLoBoT [ Fri Apr 11, 2003 4:37 pm ]
Post subject: 

sorry I didn't know about it

Author:  Blade [ Fri Apr 11, 2003 4:59 pm ]
Post 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")

Author:  CyCLoBoT [ Fri Apr 11, 2003 5:10 pm ]
Post 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?

Author:  Blade [ Fri Apr 11, 2003 5:21 pm ]
Post 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

Author:  Asok [ Fri Apr 11, 2003 5:31 pm ]
Post subject: 

Locking this post due to the Help Topics Policy.


: