this line works fine in b4j as b4a Dim new_name As String in b4i i get an error:
ilan Expert Licensed User Longtime User May 31, 2021 #1 this line works fine in b4j as b4a B4X: Dim new_name As String in b4i i get an error:
JohnC Expert Licensed User Longtime User May 31, 2021 #2 I haven't done B4i programming in a while, so these might not be applicable... Are underscores allowed in B4i variable names? Could new_name be an internal reserved name in B4i?
I haven't done B4i programming in a while, so these might not be applicable... Are underscores allowed in B4i variable names? Could new_name be an internal reserved name in B4i?
ilan Expert Licensed User Longtime User May 31, 2021 #3 The new_ is the problem. Not like in b4j and b4a
ilan Expert Licensed User Longtime User May 31, 2021 #4 It doesnot matter what comes after “new_” it will make this error. new without _ is fine so newName will work like newProduct etc but not new_name or new_product
It doesnot matter what comes after “new_” it will make this error. new without _ is fine so newName will work like newProduct etc but not new_name or new_product
LucaMs Expert Licensed User Longtime User May 31, 2021 #5 This is because old things are better than new ones
Erel B4X founder Staff member Licensed User Longtime User Jun 1, 2021 #6 This is not a bug. The compiler was configured to throw this error because the underlying system treats variables with "new_" prefix specially.
This is not a bug. The compiler was configured to throw this error because the underlying system treats variables with "new_" prefix specially.