Basic lang syntax

canalrun

Well-Known Member
Licensed User
Longtime User
Hello all,

I have been off doing other languages and I don't remember some of the syntax details in the Basic language.

For example if ((a < b) and (c < d)) …
Is it supposed to be "and" or "&" or "&&" or something else?

Or for a range in the Select/case …
Is it "case 1 to 5" or "case 1-5" or something else ?

Is there a manual, section, or webpage that goes through this stuff for B4A?
I have found the help viewer, but I can't seem to find this information in my searches.

Thanks,
Barry.
 
Last edited:

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
Hello all,

I have been off doing other languages and I don't remember some of the syntax details in the Basic language.

For example if ((a < b) and (c < d)) …
Is it supposed to be "and" or "&" or "&&" or something else?

Or for a range in the Select/case …
Is it "case 1 to 5" or "case 1-5" or something else ?

Is there a manual, section, or webpage that goes through this stuff for B4A?
I have found the help viewer, but I can't seem to find this information in my searches.

Also see http://www.b4x.com/forum/basic4andr.../7475-there-goto-line-label-equivalent-3.html
 
Upvote 0
Top