Rule "idiskeyword" gives this warning when you define a variable (or parameter, or anything else) and give it a name which is also a valid Progress keyword.
Some examples:
/* x is a keyword */
define variable x as integer no-undo.
/* object, code and width are keywords */
define temp-table object
field code as character
field width as decimal.
|
the risc:
Well, I just don't like it. It is confusing to code editors with syntax highlighting.
how to solve this:
rename the object.
How to suppress these warnings:
You would have to put the directive {&_proparse_ prolint-nowarn(idiskeyword)} directly before
the DEFINE statement.
See also: suppress warnings.