Speech recognizer result value

beginner

#1

I want to use a speech recognizer to make instruction recognizer.
but the equal funtion is not working.
I test the equal funtion can recognize and determine the Text
why the equal funtion can not determine the Value of speech recognizer?

Here is my code:

and the result:


#2

rather then the = . use this.