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



...if I need to "comment out" a block of code quickly I just surround it with an/if defined(IGNORE): : : /endifTim.
Date: Wed, 18 May 2016 18:06:31 -0400
From: gallium.arsenide@xxxxxxxxx
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Any change to RDI settings to edit **FREE totally free RPG?

On Wed, May 18, 2016 at 5:24 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
It sounds good - and using it in RDi - sure - the color coding makes the comment obvious.

But in shops where folks insist on using SEU that “feature” is a sure-fire time waster and error generator.

I was going to let this thread go, and I do still think this is a
minor issue any which way you slice it; but the way I see it, block
comments would be a much bigger help in SEU than in RDi.

You said yourself that RDi has an easy way to comment or uncomment a
whole block at a time (using line comments on a selection). Most
editors designed for programming have this feature, and I agree it
makes block comments almost completely superfluous.

But how do you comment out a whole bunch of lines in SEU? I will be
extremely embarrassed if there's an easy way and I've been missing it
all these years, but I will survive the embarrassment if you point it
out now. What I normally do is "sidestep" the code by surrounding it
with "if '0';" and "endif;". The avoided code is of course still
parsed and compiled and could conceivably contain old-style variable
declarations and so on, but it's the simplest and quickest way I know
to achieve something similar to a block comment in SEU. It also has
the added bonus of not touching the dates on the pseudo-commented-out
lines.

Does the Linoma software maybe have SEU extenders that do RDi-style
line-comment-over-a-selection?

John Y.
--
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: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.