× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 3/25/2015 12:14 PM, Roger Harman wrote:
We have a lot of heavily modified vendor code and the practice here is to keep (but, commented out) any code that was changed. It gets messy pretty quickly.

I'm trying to filter out comments which works well on an RPGLE member. Right-Click -> Filter View -> Code

But, we have a lot of older RPG400 code and I get the following error when trying to filter the source:
"commentOnly" is not a valid parameter for the "set excludedClasses" command.

I get the same error on CL source.

Is this a known limitation? Any workaround?

The underlying issue is that the excludedClasses variable wants to be
passed a legal class. Each parser has a different set of classes. You
can see what they are via 'query classes'.

So, the workaround is: For CL and RPG, the comment class is COMMENTS,
so: 'set excludedClasses COMMENTS'. For RPGLE and SQLRPGLE, the comment
class is either 'COMMENTS' or 'commentOnly'.

--buck

Anything I think I know is from observation. I wish I had better vision.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.