Android Question Very silly question

Vinians2006

Active Member
Licensed User
Longtime User
I often use a expression like this:
B4X:
if IsNumber(edtNumber.text) = false then 
    'do something
end if
But why I cant do this:
B4X:
if not IsNumber(edtNumber.text) then 
    'do something
end if
But this give me a sintax error. I tryed to enclose with '()' but still got the error.
How can I use "not" ?
 

barx

Well-Known Member
Licensed User
Longtime User
;)
 
Upvote 0
Top