Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
latency
latency's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Very basic String question
[2 Replies]
10-Sep-2012 06:58 AM
Forum:
Programming Questions
Hi,
I'm writing my first Processing app and Strings aren't working the way I expect.
String s = "foo";
s += "bar";
I expect s to be "foobar", but whenever print s it displays as "foo";
I've also tried:
String s = "foo";
String t = s + "bar"; // same result
What am I missing?
Thanks,
LT
«Prev
Next »
Moderate user : latency
Forum