Message
From
16/12/1996 16:08:48
 
 
To
16/12/1996 10:54:55
General information
Fórum:
Visual FoxPro
Category:
Programação, sintaxe e comandos
Miscellaneous
ID da thread:
00015090
ID da mensagem:
00015270
Views:
41
>>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
Previous
Next
Responder
Mapa
View