Hi there,
I'm making an API call which returns this:
Then, I've this code to validate a success return code:
To my surprice, this "If" isn't True... If I change it to:
It works but the IDE complains:
What's the correct way to deal with this?
Thanks.
I'm making an API call which returns this:
B4X:
(MyMap) {success=1}
Then, I've this code to validate a success return code:
B4X:
If res.GetDefault("success", "") = "1" Then
To my surprice, this "If" isn't True... If I change it to:
B4X:
If res.GetDefault("success", "") = 1 Then
It works but the IDE complains:
What's the correct way to deal with this?
Thanks.