Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View table/base table BUG.
Message
From
16/12/1996 10:54:55
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00015090
Message ID:
00015216
Views:
35
>>>
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform