Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : string.getlength does not work?

$
0
0
And don't use == to compare strings!

Actually, perhaps you try to do:
  1. if (SerialBuffer != null) {
  2.   int BufLen ...
  3. }
And uninitialized string is null, not empty.

NB: better use an initial lowercase letter for variable names...

Viewing all articles
Browse latest Browse all 1768

Trending Articles