This one is quite puzzling to me.
I am re-writing my B4X-Launcher, about 50% in, and took a different approach visually, which has me making a few extra calls to javaObjects.
My project is, as now, about 400 Lines of code, so it's still small or near medium size.
When ever I try to copy/paste a Snippet from the forum, or from another Project into my current project, I get 2 weird situations:
The new code is NOT recognized as such, and the existing code gets broken with all native objects and sub passed variable going red.
The logs show "xxx is not a valid identifier" message. In order to fix this I have to manually re-type the code, no changes made, and it then gets correctly recognized.
Sometimes I also get "Input string was not in correct format" is my code calls another sub, like:
See the video as example:
https://youtu.be/zScKujFzqnA
I am re-writing my B4X-Launcher, about 50% in, and took a different approach visually, which has me making a few extra calls to javaObjects.
My project is, as now, about 400 Lines of code, so it's still small or near medium size.
When ever I try to copy/paste a Snippet from the forum, or from another Project into my current project, I get 2 weird situations:
The new code is NOT recognized as such, and the existing code gets broken with all native objects and sub passed variable going red.
The logs show "xxx is not a valid identifier" message. In order to fix this I have to manually re-type the code, no changes made, and it then gets correctly recognized.
Sometimes I also get "Input string was not in correct format" is my code calls another sub, like:
B4X:
if mySub("myVar") = true then
See the video as example:
https://youtu.be/zScKujFzqnA
Last edited: