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:




[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:



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


P.P.S. Another test (Select works):
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…