>>>>For instance if a prg contains
>>>>
>>>> IF .T. && or
>>>>
>>>> do while .T.
>>>> messagebox('hi mom',4,"that's all")
>>>>
>>>> return
>>>>
>>>>you don't get any errors, until you run the prg. There are other tools which do a better job in *checking* snippets, tables, etc. before a problem is found much later, as was the case with my table including a field named *left*.
>>>>
>>>>FWIW, Kim
>>>
>>>I just tried your code in both FPW 2.6 and VFP 5.0 and both caught the errors.
>>
>>This is very odd, VFP 5.0 caught the error when you compiled??? This prg when compiled does not catch any errors.
>>
>>*!* temp.prg
>>
>>**IF .T. && or
>>
>>do while .T.
>>messagebox('hi mom',4,"that's all")
>>
>>return
>>
>>
>>Yet, when run there is a Nesting error.
>>
>>Would you mind checking this again? Have you applied any patches or upgrades to 5.0?
>>
>>Thanks, Kim
>
>Yup...VFP 5.0 catches this. It tells me nesting error. I copied the code from the message and then pasted it to a new PRG, then selected compile from the menu.
>
>Craig
you can set your system so you aren't notified of errors when compiling (i forget how, except in projects)