What is the Alternative way to figure out the Declaration causing this error.
I started having this error after modifying a project. I did a lot of changes so I could not figure out where the issue is coming from. The project is big with several modules and resources so I could not upload it.
From the Compilation Window above.
1. I checked all line 255 in all modules, and there is no such Declaration.
2. I did Search and Find for Dim BorderWidth As Float But there is nothing like that in the project
3. I search for Float, I only found dialog.BorderWidth = 0 which is related to B4XDialog. I removed all of them but no result
Any Help is appreciated
I started having this error after modifying a project. I did a lot of changes so I could not figure out where the issue is coming from. The project is big with several modules and resources so I could not upload it.
B4X:
Current declaration does not match previous one.
Previous: {Type=Int,Rank=0, RemoteObject=True}
Current: {Type=Float,Rank=0, RemoteObject=True}
Compilation Window:
B4i Version: 8.51
Parsing code. (0.55s)
Building folders structure. (0.03s)
Compiling code. Error
Error compiling program.
Error description: Current declaration does not match previous one.
Previous: {Type=Int,Rank=0, RemoteObject=True}
Current: {Type=Float,Rank=0, RemoteObject=True}
Error occurred on line: 255
Dim BorderWidth As Float = NaObj.GetField("layer").GetField("borderWidth").AsNumber
From the Compilation Window above.
1. I checked all line 255 in all modules, and there is no such Declaration.
2. I did Search and Find for Dim BorderWidth As Float But there is nothing like that in the project
3. I search for Float, I only found dialog.BorderWidth = 0 which is related to B4XDialog. I removed all of them but no result
Any Help is appreciated