PDA

View Full Version : Carriage Return



Bubba
May 6th, 2003, 01:56 PM
I am creating a scrolling text box. How do I get the information to appear on seperate lines (carriage return) in action scripting?

I'm creating a daily journal with the txt box. I have several entries in for each day. I would like to separate them and make them appear evenly spaced.

Any ideas?

kode
May 7th, 2003, 07:39 AM
use \n to separate each line. =)

Bubba
May 7th, 2003, 09:32 AM
Kax,

Thanks. Of course ten minutes after I posted the darn thing I figured it out.

You can also use \r for return or \r\n for a return and a new line.

kode
May 7th, 2003, 09:42 AM
:P

yeah... and usually the search button is your best friend. ;)