Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View table/base table BUG.
Message
De
16/12/1996 10:54:55
 
 
À
13/12/1996 20:09:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00015090
Message ID:
00015216
Vues:
39
>>>
>>>I believe this would be considered a BUG.
>>>
>>
>>Not a but. LEFT is a reserved word. The general feeling is that you should avoid anything as a procedure name, field, or variable that shows up in blue in the VFP 5.0 editor.
>
>I think I'd still consider this a BUG. Doesn't FP know what its reserved words are? Yes, you are correct is saying I shouldn't have used a field named *LEFT*, but ...
>
>I don't think that VFP does as good a job as it could in checking for errors before closing tables, snippets, etc.
>
>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.
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