Yes, Brad, You are right... remove spaces and all error is gone (for now ).
thank You for help
Possible I was fail becaus of example in EXOSCommandRef12_5.book.pdf
IF ($x > 2) THENshow switch
ELSE
show vlan
ENDIF
and there are space on both side from ">", but maybe it is complete different situation. As I mention I'm complete novice in scripting