CodeReview Rules Using AND



Is there any way to include a rule using a contains x and doesn't contain

y e.g. There is an inbuilt rule about using the GoTo command.  However I

would like to create a new rule to check whether GoTo is in an error

statement i.e.

on error goto ...

and the only way I can see to do it is check to see whether the line

contains goto and doesn't contain on error.  Is this possible?


There currently is not a way to build a rule with x and not y.  It has been requested by many people and engineering is working on it.  This will likely be ready for the next major CodeReview release.

Old KB# 12349
Comment List
Related Discussions