A simple piece of code does not work

Could it be something else in my script?