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

#1 2011-12-12 18:17:24

TheninjaGUY
Scratcher
Registered: 2009-10-26
Posts: 21

Read/Write Blocks

In C++ you can use a script where you can read and write files. This could be used to make saving possible. It would also show people how writing and reading files works.
You could make a block that says something like "Set () to ______" so you could set the value to a variable or list.


Check out my project Why Bananas Are Yellow. Trust me it will be worth your time!  smile  Ninjas are watching you!  big_smile

Offline

 

#2 2011-12-12 23:43:02

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Read/Write Blocks

TheninjaGUY wrote:

In C++ you can use a script where you can read and write files. This could be used to make saving possible. It would also show people how writing and reading files works.
You could make a block that says something like "Set () to ______" so you could set the value to a variable or list.

I believe they are adding this to 2.0 or something like it. From what I've heard they are looking for ways to save certain data and adding ways to interact with social sites.

Offline

 

#3 2011-12-13 01:03:10

Vista4563
Scratcher
Registered: 2009-07-20
Posts: 500+

Re: Read/Write Blocks

If you have a Windows machine, try Panther <pantherprogrammimng.weebly.com>. It's a spinoff of Scratch that has blocks that pertain to your interests.


Team Vista | TBG Moderator | #stopKony #Kony2012 | http://ls.gd/icgrin http://is.gd/78GWUZ
http://is.gd/jEY5Ihttp://is.gd/Vl19zR http://i.imgur.com/L4HIs.png

Offline

 

#4 2011-12-13 12:29:14

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: Read/Write Blocks

would have to be for .txt files ONLY and not work on any othjer file otherwise it could cause serious dfamage to someones computer.


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#5 2011-12-13 12:42:09

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Read/Write Blocks

joefarebrother wrote:

would have to be for .txt files ONLY and not work on any othjer file otherwise it could cause serious dfamage to someones computer.

True. I would like this feature in Scratch.

Offline

 

Board footer