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

Click here to load this message in the networking platform