× 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.



FYI, my slashes appear in the first two spaces.

-----Original Message-----
From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx]
Sent: Thursday, May 19, 2016 8:59 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Multi-line comments

I understand, Dave. Block comments are nice but aren't currently supported by RPG so you have to figure out your option. RDi supports both commenting and uncommenting a block of lines using Ctrl-/ and Ctrl-\ which add and remove 2 slashes, respectively. Those shortcuts will even support multiple levels of commenting (that is, you can "over-comment" a comment to four slashes, and then un-over-comment it back down to 2).

It's not elegant. The slashes are always in positions 8 and 9, which may be annoying. But it's functional. I'm also very particular about my code, but over the years I've adopted a philosophy: when my preferred style conflicts with the only technique available in my tool, my life is easier when I change my preferred style. :)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.