Skip to main content
February 15, 2008
Question

Problem with if condition

  • February 15, 2008
  • 1 reply
  • 272 views
The code below doesn't work. I get the error message: 1176: Comparison between a value with static type Function and a possibly unrelated type String.

This topic has been closed for replies.

1 reply

Inspiring
February 15, 2008
I think you're missing () after toUpperCase. Should be:

_userInput.text.toUpperCase() == "HELLO"