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
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.
You could use:
in your external to find the new line String.
sweet! i found a work around though.. maybe this method is efficient, i’ll give it a try too. thanks
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?"
C74 RSS Feed | © Copyright Cycling '74