Android Question Compile Error on SetTitle

johnaaronrose

Active Member
Licensed User
Longtime User
I want to set the title in the B4XMainPage module. I get a syntax compile error with this code in 'Sub B4XPage_Created':
B4X:
B4XPages.SetTitle(Me, "Test”)
What should this code be?
 
Last edited:

johnaaronrose

Active Member
Licensed User
Longtime User
@wil You're right. This code (with a change to the string) came from a pdf document written by someone showing how to convert a B4A project to a B4XPages project which I must have copied and pasted without realising that the last quote was not the standard double quote symbol. I don't know about running B4a under Windows makes it easier to see things like this, but as I'm running B3a under Ubuntu 20.04 it can be difficult to see small differences like this.
 
Upvote 0

William Lancee

Well-Known Member
Licensed User
Longtime User
I have poor eyesight, but I have been punished for 55 years for missing differences between
various quotes, I vs l, 0 vs o, and - vs _. Therefore I look for these differences over and over again.
 
Upvote 0
Top