Because you have SET EXACT OFF. Also, get rid of the "then"...it's not evaluated.
>If I run this program, it prints "OK". Why
>
>cTest="This is a test"
>If cTest="" Then
> ?"Ok"
>EndIf
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05