New Line character in max

May 28, 2009 at 4:19pm

New Line character in max

n is usually the newline character in the programming languages.. but max doesnt recogize the newline character..

i am passing a “string” through my java external, but the n within the string is shown on the screen as a box (a little square box).

does anyone know the newline character that max recognises?

thanks for the help

May 29, 2009 at 11:31am

Traditionally, Mac OS, Unix, and Windows all used different conventions to flag end-of-line. I’m not sure if Java ‘unifies’ the different OS conventions.

Off-cuff I’d suggest trying r if you’re on Mac OS, but no guarantees. There is probably also documentation for this somewhere, but it may be faster to try the likely candidates than dig through MBs of dox until you find the magic formula.

May 29, 2009 at 6:50pm

You could use:


in your external to find the new line String.


May 29, 2009 at 6:56pm

sweet! i found a work around though.. maybe this method is efficient, i’ll give it a try too. thanks

May 29, 2009 at 8:11pm

i always liked the

tag trick in the “pluggo info”
as a sort of linebreak which makes you think “whats
that now and why is it in maxmsp anyway?”



You must be logged in to reply to this topic.