iOS Question use of undeclared identifier 'state'

marcick

Well-Known Member
Licensed User
Longtime User
I suddenly have this type of error when I compile (upgraded yesterday to B4i 4.80)
If I take a version of my app of yesterday I don't have the error but I can't understand why I have it now.
This piece of code exists identical in the app of yesterday.
Any idea ?
Anyway I should expect a runtime error, not a compile error.


Cattura.JPG
 

marcick

Well-Known Member
Licensed User
Longtime User
looks like the "Continue keyword is the problem

This generate the compile error above:

B4X:
For Each k As String In MapZTN.Keys
  If k="GPSL" Then contine
  etc etc ........
Next

This way works:

B4X:
For Each k As String In MapZTN.Keys
  If k<>"GPSL" Then
       etc etc ........
  End If
Next

I can send you a link to download the whole project
 
Upvote 0
Top