×
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.
Buck,
Thanks... but I was there before posting the question. I see nothing about comments.
I simply would like an <enter> on a comment row to repeat the comment token "//" in the same row as the previous.
Greg
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck Calabro
Sent: Friday, June 15, 2018 12:52 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Comment Lines in Free Format
On 6/15/2018 11:28 AM, Greg Wilburn wrote:
When using asterisks for comment lines... If you're on commented line
(using asterisk in column 7) and press enter, the next line is
formatted as a comment
When using // as comments (**FREE or not), pressing enter just creates a new blank line w/out comments.
Can this behavior be controlled?
I believe that this setting is controlled by 'Repeat previous specification type'.
Remote Systems > Remote Systems LPEX Editor > IBM i Parsers > ILE RPG > Key behavior. The filter text I use to find that is 'behavior'.
I'm thinking that * is a 'Comment spec' whereas // is a 'Comment token'.
We can put a // comment after any code, but not a * comment.
Another way to 'disable' this behaviour is to press Ctrl + Enter after typing the comment. This stops the 'repeat spec' action for this line of text.
--
--buck
http://wiki.midrange.com
Your updates make it better!
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.