Wish New .As(...) feature conflict with literal-string "as".

LucaMs

Expert
Licensed User
Longtime User
I just opened my own project, without modifying it. No problem with B4J V. 9.00; with V. 9.10 Beta:

1625719293500.png



[As you can see the code is in class B4XSimpleCodeHighLighter, so you can verify yourself by testing it, although it would also be possible to do it in a new project that contains that literal].


P.S. It happens only in a construct like this:
1625720239267.png



[Another good reason to avoid literals and to use constants :)]


P.P.S. Another test (Select works):
1625720519911.png
 
Last edited:
Top