This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-03-31 06:34:02

radacheck
Scratcher
Registered: 2007-11-27
Posts: 2

Save Data

Can data such as numbers be input into a scracth program, saved to hard drive and then reloaded into the program the next time it is run?
Thanks,

Offline

 

#2 2009-03-31 07:38:14

Rolers_sonic_tails
Scratcher
Registered: 2008-07-19
Posts: 87

Re: Save Data

Ok Ok Ok Ok Ok Ok Ok Ok almost errr i dont understand...Ya Ya Ya kcdscratches sonic advance saves your chao


http://planetsmilies.net/cool-smiley-8942.gif
cool! click the color-changing people to go to where i found it!

Offline

 

#3 2009-03-31 09:56:14

yambanshee
Scratcher
Registered: 2007-11-06
Posts: 500+

Re: Save Data

nope. theres only 1 simple way, and thats to save the project with the variable that you want saved, and have that variable not be reseted on the green flag.

Offline

 

#4 2009-03-31 10:53:38

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Save Data

yambanshee wrote:

nope. theres only 1 simple way, and thats to save the project with the variable that you want saved, and have that variable not be reseted on the green flag.

There is one other way, but it's a bit awkward as it requires that you jump into Development mode.  Store the data in a List and then use the Export/Import features to store and retrieve data to/from the List.  The Export feature is obtained by right-clicking on a List viewer.  It will store the data for that List as a text file in the same directory where the Scratch Projects and Media folders are located.  The text file will have the same name as the List.  The Import feature looks for a text file in the same location.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer