![]() |
![]() |
4800 | ![]() |
||||
![]() | |||||||
| Local Standards | |||||||
The identifier violates at least one of the rules in the file specified by the
-nrf option.
For example consider the following rule in an -nrf file:
rule=['space':'OV','pattern':'^[a-z][A-Za-z]*$']
This rule specifies that all variables ('space':'OV'), must start with a lower case letter, followed by any number of upper or lower case letters only.
The following variables will generate a message:
int Variable;
int vari_able;
int variable3;
The following variables correctly match the rule:
int variable;
int variAble;
int v;
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |