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



There was a long discussion well over a year ago with someone from
IBM about intelligent indenting in free form RPG.  It was a bit
like requirements gathering and I thought there was a tacit
agreement that they would do something.  I saw 5.1 at Common, but
there was no mention of indenting.

Linoma's RPG Toolbox (in its SEU extensions) has a command to
re-indent free form RPG. And also to convert to free form.  I'm
happy with their products but have suggested they might want to
make something available for WDSC since they seem to be both Java
and RPG wizards.  However, they have to stay in business, so if
they do anything there will need to be some ROI.

Sam

----- Original Message -----
From: "Mark Phippard" <MarkP@xxxxxxxxxxxxxxx>
To: "Websphere Development Studio Client for iSeries"
<wdsci-l@xxxxxxxxxxxx>
Sent: Wednesday, September 17, 2003 2:14 PM
Subject: Re: [WDSCI-L] Re: Indenting Fre-Format RPG


> I think what Scott is referring to is automatic support in the
editor to
> indent your free form code, just as the Java editor does, and
most C/C++
> editors do.
>
> So if you start an IF or a DO, for example, the following lines
are
> indented until the END is reached.  Ideally, it would work like
the Java
> editor, where there was a format option to automatically format
your
> source, and other than that, the editor just assists you with the
> indenting, but otherwise lets you do what you want.
>
> Mark
>
>
>
>
>
>
> craigs@xxxxxxxxx
> Sent by: wdsci-l-bounces@xxxxxxxxxxxx
> 09/17/2003 02:02 PM
> Please respond to Websphere Development Studio Client for iSeries
>
>         To:     wdsci-l@xxxxxxxxxxxx
>         cc:
>         Subject:        [WDSCI-L] Re: Indenting Fre-Format RPG
>
>
>
>
>
>
> Scott,
> I'm not sure what IBM thinks about free format RPG.  I'm not sure
what you
> are trying to actually do.  Under LPEX, you can show indentation
under
> "Source" > "Show Indentation".  Under CODE, it is under "View" >
"Indent".
> Also, CODE has another option that LPEX does not.  Under
"Actions" >
> "Convert all to C Free-Form" or "Convert selection to C
Free-Form".  I
> think this may be closer to what you want?  The convert to
free-form
> allows
> you to convert the RPG member to free-form.  A word of caution
though.
> Once you convert to free-form, there is no converting back and
there is no
> reformat option to fix indentations.  By not having to include
this
> reformat option, I think IBM is trying to say they want
programmers in
> charge of cleaning up the source to be more "flexible".  If you
indented
> it
> ugly, you must have wanted it ugly?  I think I have heard people
mention
> other software packages that allow this and I am not sure what is
holding
> IBM back.  I know there were lengthy posts awhile ago on the CODE
list
> about how to properly keep source indented and I am not sure
there will be
> a solution soon.  I have not been keeping up on it.
> My opinion:
> Personally, I prefer to keep everything columnized and then view
in
> free-form to see indented if's, etc.  I still need to get used to
using
> the
> end-free (ex: SQL, prod headings, KFLD).  I always avoid using
legacy
> opcodes (ADD, MOVE, IFEQ, DOWEQ, etc) that hinder convert to
free-form.
> Eventually, I could just convert to free-form in CODE and it is
done.
> Sometimes though I just write the whole program in straight
free-form if I
> am doing large variables assignments (eval's).  I think right now
it is a
> matter of taste.
>
> Craig Strong
>
> ** Rob wrote:
> I believe IBM thinks that if you wanted indented free format RPG
then you
> should be using SEU and RPGAlive.
>
> Rob Berendt
>
> _______________________________________________
> This is the Websphere Development Studio Client for 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.
>
> _______________________________________________
> This is the Websphere Development Studio Client for 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 ...

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.