Yeah your correct, I have another variable that I use it as a string, but the actualy value in it was sometimes logical. This doesn't cause any error message when I run the program within VFP, makes me can't figure out the problem ealier
Do you think I should compile the program and run the .exe whenever I'm gonna test the program? It seems so...
Jimi
>>Thanks for the reply, my problem shouldn't be related to the if-clause or the == mark, I tried to remove them but same error..
>>
>>i define and use them in a procedure:
>>>>procedure MyProc
>> LOCAL MyString
>>
>> ....
>> MyString=""
>> ....
>>endproc
>>
>>
>>>>For your reference:
>>>>(1) Set it to a space doesn't work too
>>>>(2) I also though it may because VFP dunno it's char type, so I tried
>>>>MyString="xxx"
>>>>MyString=""
>>>>also not work..
>>>
>>>How and where did you define those varialbes?
>
>It should be something else going on. There is nothing wrong in this particular piece of code.
error(503): file structure failure, signature file corrupted.