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

#1 2012-03-20 00:47:33

slayerrobe7
Scratcher
Registered: 2011-06-24
Posts: 500+

panther and files

in panther im trying to make a project write the answer to a question it asked to a file but i need it on a new line here is an example

i want the file to look like
word
word2

but as is it looks like
wordword2

can anyone help me


!!!When it comes to Scratch2.0 I am totally like freaking out!!!

Offline

 

#2 2012-03-20 01:00:21

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: panther and files

Try using the \n character?


Posts: 20000 - Show all posts

Offline

 

#3 2012-03-20 07:17:40

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: panther and files

At the bottom of the Operators tab in Panther, you should see a small reporter block that looks like this: ([pi v])

In that dropdown there is a choice called newline (as well as tab, if you're interested) which represents a new line character. You can use that along with the join block to add a newline to the file. It is a very well hidden block and many people have no idea it is there  hmm


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#4 2012-03-20 08:51:12

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: panther and files

Some mods have a multiline input block, you could try adding it to your copy of Panther.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

Board footer