Page 1 of 1

PostPosted: Sun Apr 06, 2003 11:06 am
by Symetrix
How do I add a linebreak, for example, in an alert?

PostPosted: Sun Apr 06, 2003 11:08 pm
by wolfgang
if it is the PalmOS version of PocketC, use \n:

alert ("First line\nSecond line");

If it is the PocketC version, it has a bug and \n does not work directly; in this case, use:

int c_cr, c_lf;
c_cr = 13;
c_lf = 10;

alert ("First line" + c_cr + c_lf + "Second line");


Composing music on the PocketPC! -