This project is read-only.

Code Analyst - rules database

Topics: General
May 20, 2015 at 7:04 PM
Hi,

We were wondering if there is a database of rules that others have created that we can download for Code Analyst?

Is there a rule that can check to make sure that a variables have been declared with a scope? We have a 2.6 project we are trying to update to VFP and have found that in some places variables have been create with large names but there are typos in the variable name. It run fine in 2.6 because the typo is after the max length a variable name is looked at in 2.6 but will fail in run time in VFP.

Thanks.
May 20, 2015 at 7:14 PM
Hi
There exits a procedure Parselocals which does that. Also there is such a procedure in Thor.
Koen

Op woensdag 20 mei 2015 heeft Waudware <[email removed]> het volgende geschreven:

From: Waudware

Hi,

We were wondering if there is a database of rules that others have created that we can download for Code Analyst?

Is there a rule that can check to make sure that a variables have been declared with a scope? We have a 2.6 project we are trying to update to VFP and have found that in some places variables have been create with large names but there are typos in the variable name. It run fine in 2.6 because the typo is after the max length a variable name is looked at in 2.6 but will fail in run time in VFP.

Thanks.

Read the full discussion online.

To add a post to this discussion, reply to this email ([email removed])

To start a new discussion for this project, email [email removed]

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Marked as answer by Waudware on 5/20/2015 at 11:34 AM
May 20, 2015 at 7:35 PM
Hi Koen,

Thank you. That is what we were looking for.