Bug? code works in b4j and b4a but not in b4i

ilan

Expert
Licensed User
Longtime User
this line works fine in b4j as b4a

B4X:
Dim new_name As String

in b4i i get an error:

1622477769862.png
 

JohnC

Expert
Licensed User
Longtime User
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
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
 
Top