Android Question .bal error, how to debug it?

Alberto Michelis

Well-Known Member
Licensed User
Suddenly after making some little changes and adding a spinner I get this error:

B4A version: 5.02
Parsing code. (0.13s)
Compiling code. (0.41s)
Compiling layouts code. Error
'(' expected.
Error File: ajustes.bal


Go to the designer script page to debug this error.

I went to the designer script page, but found nothig, how to debug it?
Thanks
 

eurojam

Well-Known Member
Licensed User
Alberto,
it is much more easier for us - the community - if you prevent more information on your questions. In this case, without any codefragment, it is really hard to see what happend....

bets regards
stefan
 

DonManfred

Expert
Licensed User
without any codefragment
most probably a small project exported as zip

or, at least the bal file. BUT with just the bal file WE have a LOT work to get a new example created and adding your bal to it... Always better is to post a complete project together with a description where the problem is. At least to whom who want help
 

Alberto Michelis

Well-Known Member
Licensed User
stefan, this is what i got about the error...
going to the designer and running the scripts I realized the error
Thanks
 

eurojam

Well-Known Member
Licensed User
so let's think about this, when the compiler says "'(' expected", I would count all (( and )) on the other side and then it should be the same amount of ( and ) on both sides...;)
 

DonManfred

Expert
Licensed User
when the compiler says "'(' expected"
Then maybe there is just NO opening ( or closing )
In this case the count of ( and ) are the same. I would agree when compiler says ") expected"...

But in this case it is may be just a missing ( and ) where they should be
 
Top