Speech recognizer result value

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:

rather then the = . use this.