Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Lists
- kevinmingchung
-
Scratcher
37 posts
Lists
I was wondering if there was a way to fill a list quickly.
For example, if I had a dictionary online, and I wanted to fill a list with all the words, is there a efficient way of doing this?
Thanks,
Kevin
For example, if I had a dictionary online, and I wanted to fill a list with all the words, is there a efficient way of doing this?
Thanks,
Kevin
- scimonster
-
Scratcher
1000+ posts
Lists
If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.
- Gravitation
-
Scratcher
100+ posts
Lists
If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
- drmcw
-
Scratcher
1000+ posts
Lists
If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
- scimonster
-
Scratcher
1000+ posts
Lists
CR should just move to the beginning of the next line if you really want it.If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
But i like LF (\n).
- drmcw
-
Scratcher
1000+ posts
Lists
CR just resets to the beginning of a line on a printer so would just overtype what was already printed hence the need for an LF as well.CR should just move to the beginning of the next line if you really want it.If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
But i like LF (\n).
- kevinmingchung
-
Scratcher
37 posts
Lists
What's CR and LF?CR just resets to the beginning of a line on a printer so would just overtype what was already printed hence the need for an LF as well.CR should just move to the beginning of the next line if you really want it.If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
But i like LF (\n).
- scimonster
-
Scratcher
1000+ posts
Lists
Carriage return & line feed.What's CR and LF?CR just resets to the beginning of a line on a printer so would just overtype what was already printed hence the need for an LF as well.CR should just move to the beginning of the next line if you really want it.If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
But i like LF (\n).
But this conversation totally doesn't belong here.

- kevinmingchung
-
Scratcher
37 posts
Lists
Can you explain carriage return and line feed? It's fine that it's hereCarriage return & line feed.What's CR and LF?CR just resets to the beginning of a line on a printer so would just overtype what was already printed hence the need for an LF as well.CR should just move to the beginning of the next line if you really want it.If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
But i like LF (\n).
But this conversation totally doesn't belong here.
- drmcw
-
Scratcher
1000+ posts
Lists
Does this help?Can you explain carriage return and line feed? It's fine that it's hereCarriage return & line feed.What's CR and LF?CR just resets to the beginning of a line on a printer so would just overtype what was already printed hence the need for an LF as well.CR should just move to the beginning of the next line if you really want it.If you have a TXT file with each item on a separate line, you can import it by right-clicking the list and choosing import.^ this.
One problem, though, is that Windows (being as suckish as it is) uses a different newline denote than *nix/BSD systems (OS X is a BSD). Long story short, when importing a text file made in Windows, there will be a newline character at the end of every list element but the last.
If you think about it Windows is in fact more “correct”. If you think about printers then a Line Feed merely moves to the next line, you need a Carriage Return to reset to the beginning of the line as well. In fact many internet protocols mandate CR+:LF as the correct way.
It's a shame that there's a difference but <gasp> Windows isn't in the wrong here.
But i like LF (\n).
But this conversation totally doesn't belong here.
- Discussion Forums
- » Questions about Scratch
-
» Lists

