Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Checker
Message
From
23/01/2003 14:27:23
 
 
To
23/01/2003 14:18:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00744822
Message ID:
00744826
Views:
18
>Does somwbody knows about tool for VFP that can check the source codes.
>
>It should be able to find:
>- unused variables
>- using not-initialized variables
>- Syntax errors
>- Type mismatch errors
>- etc
>
>Any compiler is able to do this. Unfortunally, VFP has no compiler and allows programmer to meke too many mistakes.

What you're asking for is a tad difficult to do for FoxPro.

Unused variable - how do you know it's unused? It may be declared as PRIVATE or PUBLIC in some other piece of code.
Using unitialized variables - same as above.
Syntax errors - what's not happening here for you?
Type Mismatch errors - a FoxPro variable can hold any kind of value at any time. It does not do strong typing.

See what I mean? VFP is not a true compiled language. That has both it's pros and cons.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform