Compile error under v1.8 (dictionary cannot be null???)

jcpezzullo

Member
Licensed User
Longtime User
When I try to compile a program under v1.8, I get:

Compiling code. Error
Value cannot be null.
Parameter name: dictionary

This doesn't happen on the first compile after launching b4a; only on second and subsequent compiles. I have to relaunch b4a after every compile, whether or not that compile was successful.

This never happened under v1.7.
 

jcpezzullo

Member
Licensed User
Longtime User
additional info about compile error problem

It's my one and only (so far) project -- a "statistician's calculator".

It happens in all three modes.

I'm running in Windows 7 Home Premium, on an AMD Athlon 4-core processor.

I'm attaching the project (as a .zip archive), if that's of any help.
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
See how all the keywords and variables are shown in RED as unrecognised. The problem seems to lie in your unusual loop formatting, specifically multiple Next keywords on the same line.
B4X:
Next: Next: Next: Next
Put them on separate lines and all is OK.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…