Discuss Scratch

Code-io
Scratcher
31 posts

How Do You Save And Load Data?

If you know the code to do the above then comment below

What is a Kumquat?
Check Out My Profile And See What's New Or Follow Me!
when this sprite clicked
go to [Code-io's Profile v]
TheArcadeGuy
Scratcher
100+ posts

How Do You Save And Load Data?

Yes? I am here to help.



Voizer
Scratcher
500+ posts

How Do You Save And Load Data?

If anyone knows, it's him ^



TheArcadeGuy
Scratcher
100+ posts

How Do You Save And Load Data?

Voizer wrote:

If anyone knows, it's him ^
Thx!



-Arachnid-
Scratcher
100+ posts

How Do You Save And Load Data?

Code-io wrote:

If you know the code to do the above then comment below
If you are simply asking for a save data system, then play with lists.
when I receive [save]
add [] to [list v]
and then for the loading:
when I receive [load v]
repeat until <[found] = [yes]>
if <(item ( v) of [list v] :: list) = []> then
else
end
end
This I doubt will work without some editing. I don't like scratch blocks much, they take too much time and require too much proofchecking.

My signature is free advertising.
Website!
I've got a shop! Look for it in the forums!
I started a collab! Look for it as well!
Advertising disgusts hungry reindeer, killing their appetites.
TheArcadeGuy
Scratcher
100+ posts

How Do You Save And Load Data?

-Arachnid- wrote:

Code-io wrote:

If you know the code to do the above then comment below
If you are simply asking for a save data system, then play with lists.
when I receive [save]
add [] to [list v]
and then for the loading:
when I receive [load v]
repeat until <[found] = [yes]>
if <(item ( v) of [list v] :: list) = []> then
else
end
end
This I doubt will work without some editing. I don't like scratch blocks much, they take too much time and require too much proofchecking.
No, this is COMPLETELY incorrect. If a user wants to do a text file save (as in using a local save/load system), it would require the user to "See inside of the project. Otherwise, cloud data and lists would be needed.



Code-io
Scratcher
31 posts

How Do You Save And Load Data?

I don't understand, give me the code

What is a Kumquat?
Check Out My Profile And See What's New Or Follow Me!
when this sprite clicked
go to [Code-io's Profile v]

Powered by DjangoBB