>Does anyone know where I can find I big list of shortcut functions/coding syntax to help slim down the code making it smaller and/or neater?
>
>For example:
>
>
>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)
>
>
>There are always some we either don't know about, or haven't used in a long time and forget about...
>> IF LEN(ALLTRIM(test)) = 0 could be IF EMPTY(test)
That is not a 100% correct
(1) If a memo field contains only spaces, empty(memofield) is false
(2)
? LEN(ALLTRIM(chr(9)))
?empty(chr(9))
Gregory