Android Question Incrementing a char

trueboss323

Active Member
Licensed User
Longtime User
I have a code like this:
B4X:
Dim x As Char = "A"
x = x + 1

But it will not work because x is a character. In Java you can do something like:
B4X:
char x='A';
 x++;
System.out.println(x);

And it will print 'B' . How can I do this in B4A?
 
Top