Discuss Scratch

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
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

scimonster wrote:

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

Gravitation wrote:

scimonster wrote:

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

drmcw wrote:

Gravitation wrote:

scimonster wrote:

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.
CR should just move to the beginning of the next line if you really want it.
But i like LF (\n).
drmcw
Scratcher
1000+ posts

Lists

scimonster wrote:

drmcw wrote:

Gravitation wrote:

scimonster wrote:

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.
CR should just move to the beginning of the next line if you really want it.
But i like LF (\n).
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.
kevinmingchung
Scratcher
37 posts

Lists

drmcw wrote:

scimonster wrote:

drmcw wrote:

Gravitation wrote:

scimonster wrote:

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.
CR should just move to the beginning of the next line if you really want it.
But i like LF (\n).
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.
What's CR and LF?
scimonster
Scratcher
1000+ posts

Lists

kevinmingchung wrote:

drmcw wrote:

scimonster wrote:

drmcw wrote:

Gravitation wrote:

scimonster wrote:

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.
CR should just move to the beginning of the next line if you really want it.
But i like LF (\n).
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.
What's CR and LF?
Carriage return & line feed.

But this conversation totally doesn't belong here.
kevinmingchung
Scratcher
37 posts

Lists

scimonster wrote:

kevinmingchung wrote:

drmcw wrote:

scimonster wrote:

drmcw wrote:

Gravitation wrote:

scimonster wrote:

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.
CR should just move to the beginning of the next line if you really want it.
But i like LF (\n).
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.
What's CR and LF?
Carriage return & line feed.

But this conversation totally doesn't belong here.
Can you explain carriage return and line feed? It's fine that it's here

Firedrake969
Scratcher
1000+ posts

Lists

But it's offtopic

And so is this post
drmcw
Scratcher
1000+ posts

Lists

kevinmingchung wrote:

scimonster wrote:

kevinmingchung wrote:

drmcw wrote:

scimonster wrote:

drmcw wrote:

Gravitation wrote:

scimonster wrote:

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.
CR should just move to the beginning of the next line if you really want it.
But i like LF (\n).
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.
What's CR and LF?
Carriage return & line feed.

But this conversation totally doesn't belong here.
Can you explain carriage return and line feed? It's fine that it's here

Does this help?

Powered by DjangoBB