Why can't I use "else if"?

Why can’t I use “else if”?

1 Like

Check my comment in your other post

I created a test project with only a button and a label and this is the code

When I click the button I get this
image

Works fine and as expected and has no bug or error.

1 Like

this

1 Like

It seems that there can only be 1 else if

See this

It still works

1 Like

it works…
https://x.thunkable.com/copy/cf4cc510f46585690aba33fd0c32bd5c

1 Like

You should not have two else if conditions that are the same. You are checking to see if a property is > 50 twice. You need to fix that.

3 Likes