Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View table/base table BUG.
Message
De
16/12/1996 18:47:43
 
 
À
16/12/1996 16:08:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00015090
Message ID:
00015283
Vues:
34
>>>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform