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



Presumably, when coding the Free Form RPG you would have done your own
indenting as you like to see it so you would have already lined up your IF
with your ENDIF (if that is what you like).  The only visual that you would
be missing would be the dashes.   (True).   If the problem is matching up
IF/ENDIF etc. or perhaps you forgot an ENDIF somewhere along the way,  you
can always use the View->Match option (CTRL-M) which is quite useful for
this.

Michele Cummings

WDT iSeries Development
IBM Toronto Lab


Phil Groschwitz <sublime78ska@yahoo.com>@midrange.com on 14/01/2002
11:20:24 AM

Please respond to code400-l@midrange.com

Sent by:  code400-l-admin@midrange.com


To:   code400-l@midrange.com
cc:
Subject:  Re: Indent on "ElseIf"


> Due to the column dependencies of fixed form RPG,
> the indent view was
> introduced into CODE to give the users a nicer way
> of viewing their source.
> With free form RPG, the user is in total control and
> can indent their
> source however they like.  That is the reason why it
> was not implemented
> for free form code.
>

It's not the indentation per se that is a benefit -
it's the visual association between the IF, DO, etc
and the corresponding ENDxx.

Free form doesn't remove the problem of missing or out
of sequence ENDxx's.

My .02
Phil

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.






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.