Wie soll ich das machen: If Variable=???

Und funktioniert das wirklich nicht?