PDA

View Full Version : next line


sandman9
11-22-2002, 10:28 PM
If i'm typing code (action scripting) ..... and I want to continue my sentence on the next line ..... how do I do that ..... for example

scrollArea.scrollText = "QUOTES<br><br>THE ORIGIN OF KNOWLEDGE. Throughout ......

^^^ say that is a big long sentence and I want to start half of it on the line below ..... how would i do that?

Thx
Sandman9

Ricod
11-23-2002, 08:55 AM
Not sure ... but the best thing would be to have the actual text in a textfile and load that one in when you need it. This way you can easily write and modify it.

sandman9
11-23-2002, 08:00 PM
ya, that's what I prefer too but it would be useful to know how to do that for future reference.

Sandman9

farafiro
11-24-2002, 08:06 AM
u can use the "\r" for the new line but without the ""
also "\t" after it would help for a little tab space

Ricod
11-24-2002, 02:03 PM
Or, you could code sentence by sentence and then throw them together when it needs to be displayed ... but if thats really handy I doubt it ... :rolleyes:

sandman9
11-24-2002, 08:43 PM
thx guys

Sandman9

Abelius
11-24-2002, 10:09 PM
add newline

farafiro
11-25-2002, 06:35 AM
Oooh Abelius
u got it :D ;) :p

Abelius
11-27-2002, 03:47 AM
:) :) :)
Thanks, farafiro...! :)