
-----------------------------------
basketball4ever
Thu Jan 27, 2005 12:36 am

Importing web/other programs
-----------------------------------
I just wanted to know if turing can import other programs.  Say i want to make a crossword generator... is it possible i find a word bank program, and attach it with turing??? or must i make my own word bank/dictionary?

-----------------------------------
Martin
Thu Jan 27, 2005 6:49 am


-----------------------------------
depends on the program. If it lets you export things, then sure, you can use it, but if not, you're out of luck.

-----------------------------------
person
Thu Jan 27, 2005 11:06 am


-----------------------------------
u can also import a list of words from a text file

-----------------------------------
MysticVegeta
Thu Jan 27, 2005 1:44 pm


-----------------------------------
u can also import a list of words from a text file
I agree with person, use file io with arrays and import the lists from a txt file in the same folder

-----------------------------------
basketball4ever
Thu Jan 27, 2005 4:01 pm


-----------------------------------
u can also import a list of words from a text file
I agree with person, use file io with arrays and import the lists from a txt file in the same folder

sorry i was just trying to use a cross word as an example, but like what if i needed a calculator??? how would i import that without having to make my own

-----------------------------------
cycro1234
Thu Jan 27, 2005 4:03 pm


-----------------------------------
Why would u want to import a calculator in Turing to use it, when u cud just use the calculator by itself?....

-----------------------------------
person
Thu Jan 27, 2005 4:13 pm


-----------------------------------
y do u need to import a calculator??? :?:  :?:  :?:

-----------------------------------
HelloWorld
Thu Jan 27, 2005 4:28 pm


-----------------------------------
y do u need to import a calculator??? :?:  :?:  :?:
Yeah, the last person just asked that.  Little slow are we?

He just simply wants to know if it is possible to import other programs into turing. 
 
And to answer your question: 
If you make a math quiz program, and want the user to use a calculator to find the answer.  This way right away when you run the program, the calculator is already their, and you don't have to go and open it yourself.  Simple as that.

Even though you can easily make a calculator with Turing.  If would be easier to intergrate the Windows calculater with your program. . .

But, basketball4ever, I have no idea, I have never actually thought of doing this, nor have I tried to.

-----------------------------------
Bacchus
Thu Jan 27, 2005 4:44 pm


-----------------------------------
if he just wants it to open up use Sys.Exec  to accually have turing then do stuff in the program i have no idea. would be nice to kno cause then i can do some just :)

-----------------------------------
cycro1234
Thu Jan 27, 2005 4:59 pm


-----------------------------------
It's like creating Halo 2 in Turing with one line :D

-----------------------------------
person
Thu Jan 27, 2005 5:14 pm


-----------------------------------
so its just like a copy/paste situation with a program

-----------------------------------
basketball4ever
Thu Jan 27, 2005 10:01 pm


-----------------------------------
y do u need to import a calculator??? :?:  :?:  :?:

gah "person" 

1. stop flooding with pointless messages on my threads and others. 

2. read my posts

3. this is my flame to you personally because you always try to insult me.

And as for the importing thing, yeh it works.  

4. I needed to know how to do it to import a code i made with C++ onto turing to see if it works.

-----------------------------------
person
Fri Jan 28, 2005 11:01 am


-----------------------------------
3. this is my flame to you personally because you always try to insult me.


look whos talking

-----------------------------------
cycro1234
Fri Jan 28, 2005 11:18 am


-----------------------------------
Cut that out!

And u might want to check out what import can do.

-----------------------------------
Tony
Fri Jan 28, 2005 12:23 pm


-----------------------------------
person: behave yourself.

Turing cannot embed other applications into itself. The closest thing I can think of is ActiveX components in Visual Basic :? 

Turing does not import external code nor binaries - it has been looked into.

One could use Sys.Exec() to execute another program, but the only feedback Turing gets is an error message or lack there of.

-----------------------------------
Bacchus
Fri Jan 28, 2005 1:01 pm


-----------------------------------
how bout if you use Sys.Exec(), are you able to send things to watever you just opened? say like to open the calculator and then put in some numbers

-----------------------------------
basketball4ever
Fri Jan 28, 2005 3:39 pm


-----------------------------------
person: behave yourself.

Turing cannot embed other applications into itself. The closest thing I can think of is ActiveX components in Visual Basic :? 

Turing does not import external code nor binaries - it has been looked into.

One could use Sys.Exec() to execute another program, but the only feedback Turing gets is an error message or lack there of.

k thanks.

-----------------------------------
Tony
Fri Jan 28, 2005 5:38 pm


-----------------------------------
how bout if you use Sys.Exec(), are you able to send things to watever you just opened?
that depends if the program accepts load arguments or not. Sys.Exec() is equivalent to a shortcut. Sometimes you can pull stuff off such as

ruby --version


-----------------------------------
Bacchus
Fri Jan 28, 2005 11:14 pm


-----------------------------------
ah i was thinking kinda like 3rd party tools for games and such
