IF INSTR(a$, x$) = 0 THEN ' Can be used here in an if/then block.
END IF
IF INSTR(a$, x$) = 0 THEN REM Cannot be used here in an if/then block.
END IF
I'm just sayin'... :D
I have to say THEN REM looks horrible, so I'm glad it can't be used; but since ' and REM mean the same thing, I'd thought I'd check it out. Up until a year or so ago, I never put a remark after THEN or similar block statements. A ways before that, I never put remark statements in my code at all, but things change with age. That reminds me, Steve, how is that constant I asked for coming along? You know... CONST wheredidpeteputhiscarkeys
Pete