We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › [ENTER] in a String
Page Index Toggle Pages: 1
[ENTER] in a String? (Read 852 times)
[ENTER] in a String?
Nov 18th, 2009, 11:28am
 
Hi guys/ladies,

is it possible to do an

[enter]

in a string file?

I'm using the geomerative library to create a text which is generated by sound. It works, but i want a whole screen with text, and now i can only do 1 single line Sad

hopefully someone knows a little bit more about geomerative
Re: [ENTER] in a String?
Reply #1 - Nov 18th, 2009, 12:01pm
 
have you tried \n? it escapes the newline character and allows newlines in strings (like \t generates tabs)

eg:

Code:

println("hallo\nthis is a newline here\nand here");
Page Index Toggle Pages: 1