Text Constants

famelifameli Member Posts: 5
hi,

how can I use "New Line" in a Text Constant?
Something like "/n" but it doesnt work!

Thanks
Farshid

Comments

  • rajpatelbcarajpatelbca Member Posts: 178
    you can use '\'(slash) sign for new line

    eg.

    message('this is first line.\ this is second line');

    this will be shown as

    this is first line.
    this is second line

    in message box.

    hope it helps.
    Experience Makes Man Perfect....
    Rajesh Patel
Sign In or Register to comment.