Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new line (/n) in PeopleCode

Status
Not open for further replies.

mhlavenka

Programmer
Feb 6, 2002
5
0
0
US
Does anyone know what the new line (/n) character is in PeopleCode? I am creating a MessageBox and I want two distinct lines to be displayed:

This is line 1
This is line 2

I'm assuming its going to be something like this, but the /n does not work in PeopleCode.

&MSG = "This is line 1" /n;
&MSG = &MSG | "This is line 2";

Thanks!
Mark Hlavenka
mhlavenka@buyprimesource.com
 
Just tried this and it seems to work fine:

&MSG = "This is line 1" | Char(13) | Char(10);
&MSG = &MSG | "This is line 2";
 
Use Char(13) Peoplecode command which is used for Carriage return
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top