myNumber += 1 '--> myNumber = myNumber + 1
With MyB4XProject 'Class or Type
.Counter += 1 '--> MyB4XProject.Counter = MyB4XProject.Counter + 1
.Note = "Would be nice!" '--> MyB4XProject.Note = "Would be nice!"
EndWith
'here could be a comiler warning, because on VB.NET, if false, nothing in this line is executed, but in B4X starting with DoSecond!'
If whatever = True Then DoFirst : DoSecond : DoThird
Consider using With / End With can speed things up but it does make the code harder to debug as you can't quickly add watch expressions into the Watch Window.