
-----------------------------------
CyCLoBoT
Fri Apr 11, 2003 3:37 pm

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

-----------------------------------
Prince
Fri Apr 11, 2003 4:23 pm


-----------------------------------
im not sure of the answer to ur question but isnt creating a post called "help needed" not allowed??

-----------------------------------
CyCLoBoT
Fri Apr 11, 2003 4:37 pm


-----------------------------------
sorry I didn't know about it

-----------------------------------
Blade
Fri Apr 11, 2003 4:59 pm


-----------------------------------
you can include source files with include fileName
include "somefile.t"
or execute files with Sys.Exec ( command : string) : boolean
Sys.Exec ("filename.exe")

-----------------------------------
CyCLoBoT
Fri Apr 11, 2003 5:10 pm


-----------------------------------
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
Fri Apr 11, 2003 5:21 pm


-----------------------------------
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
Fri Apr 11, 2003 5:31 pm


-----------------------------------
Locking this post due to the [url=http://www.compsci.ca/bbs/viewtopic.php?t=461]Help Topics Policy.
