Rome Feed string comparison with ( rome.feed() != "" ) ?? not equals() ??
in
Contributed Library Questions
•
2 years ago
I have the following line of code, where CurrFeed.getAuthor() is initialized as Rome feed in syndicated feed format. They are supposed to be recognized by Processing as strings. It seems to work:
if (CurrFeed.getAuthor() != "") {textSize(16); text("Author: " + CurrFeed.getAuthor(),4,height -16);}
The Rome examples use the above text() format. The question is, aren't strings in processing usually compared to using equals()?
if (CurrFeed.getAuthor() != "") {textSize(16); text("Author: " + CurrFeed.getAuthor(),4,height -16);}
The Rome examples use the above text() format. The question is, aren't strings in processing usually compared to using equals()?
1