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

Username:   Password: 
 RegisterRegister   
 Copying output of run window
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
isaiahk9




PostPosted: Fri Apr 25, 2008 6:34 am   Post subject: Copying output of run window

I am trying to write hundreds of line of repetitive code, and then I realized that the entire thing of code could be easily written by Turing with ten lines of code and a for loop. But, that means that I would have to be able to copy the text out of the run window, to paste it into Turing again, as the new code. It's basically Turing code writing itself. I thought it was clever (and preserves laziness) until I realized that I do not know how to copy text out of the run window. I know how to save the output as a picture, but I was wondering whether anyone knew how to either copy the text out of a run window or to save that text as a word file. If you know it's not possible, please respond that way I know if I'm in for many sleepless nights.
Sponsor
Sponsor
Sponsor
sponsor
jernst




PostPosted: Fri Apr 25, 2008 7:35 am   Post subject: Re: Copying output of run window

I don't know how to copy from the output window because I've never used turing but you could write the output from your program to a text file and copy it from there...
cavetroll




PostPosted: Fri Apr 25, 2008 7:53 am   Post subject: Re: Copying output of run window

All you have to do is put the output window into 'text' mode. It defaults to 'graphics' mode so text is not able to be copied.


code:

setscreen("text")



I think that is the right code. If not, it is something along those lines.
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  [ 3 Posts ]
Jump to:   


Style:  
Search: