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

Username:   Password: 
 RegisterRegister   
 help meeeee with load and save
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
sooper-cooper@hotmail.com




PostPosted: Sun May 28, 2006 10:53 pm   Post subject: help meeeee with load and save

ok i want to be able to have one program sed a variable to a file (dosenot matter what type) and in a difrent turing programe, or the same i think i can work around it, open the variable,

the use should be able to enter what they want to save it as and later in the program ot in a difrent programe load it

all i want to be transferd is one variable
Sponsor
Sponsor
Sponsor
sponsor
TheOneTrueGod




PostPosted: Mon May 29, 2006 6:45 am   Post subject: (No subject)

This is in the F1 help menu, as well as the Turing Walkthrough. Check out the walkthrough and you should learn everything you need. (A note to other people, Don't post the code for this, he can learn it on his own, it'll take him like 10 seconds...)
Guest




PostPosted: Mon May 29, 2006 8:11 am   Post subject: Look Up File Commands

In program 1 use these commands "open, put, mod, close" to store a variable, and program 2 use "open, get, close" to retrieve the variable. You may have to look up more file commands to read more than 1 variable.
sooper-cooper@hotmail.com




PostPosted: Tue May 30, 2006 2:23 pm   Post subject: (No subject)

do u now if i can get turing to make a file to save a variable in???
Clayton




PostPosted: Tue May 30, 2006 2:43 pm   Post subject: (No subject)

look through the Turing Walkthrough, specifically under the topics of file I/O which contains everything u need to what you want to do and more
Guest




PostPosted: Tue May 30, 2006 3:13 pm   Post subject: (No subject)

sooper-cooper@hotmail.com wrote:
do u now if i can get turing to make a file to save a variable in???


Who is teaching you Turing? I'm assuming your learning it from someone else, because I know no one that teaches themself Turing. Talk to the teacher and ask the person how to have a variable in one file and open it from another file. As I said, look up File commands, such as open, put, get, read, write, seek, close, etc.
[Gandalf]




PostPosted: Tue May 30, 2006 4:21 pm   Post subject: (No subject)

vahnx wrote:
I know no one that teaches themself Turing.

You do now. Rolling Eyes
Though maybe I would change that to the past tense...

sooper-cooper@hotmail.com, you do realize that asking for the same thing multiple times isn't likely to help you more than the first time did?
HellblazerX




PostPosted: Tue May 30, 2006 4:35 pm   Post subject: (No subject)

vahnx wrote:
because I know no one that teaches themself Turing.

Ahem. You might wanna make that two now. Wink

Also, sooper, you must realize you can't send a variable, but rather the value that is in the variable. And ya, stop repeating questions when you've already gotten the help you needed.
Sponsor
Sponsor
Sponsor
sponsor
NikG




PostPosted: Tue May 30, 2006 11:40 pm   Post subject: (No subject)

vahnx wrote:
I know no one that teaches themself Turing.

Might as well chime in... I've taught myself all the Turing I know. Infact, I remember (way way) back in Gr. 11 programming class, I had to teach it to myself AND teach it to others because they couldn't understand the teacher.
Clayton




PostPosted: Wed May 31, 2006 7:35 pm   Post subject: (No subject)

vahnx wrote:

I know no one that teaches themself Turing.


Chalk one up for the self-teachers:D I've pretty much taught myself everything i know about Turing through tuts and help here:)
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  [ 10 Posts ]
Jump to:   


Style:  
Search: