IF test = X .or. test = Y .or. test = Z could be IF INLIST(test,X,Y,Z) or IF LEN(ALLTRIM(test)) = 0 could be IF EMPTY(test)