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



I don't mind controlling the level of indentation--it helps me think about
what I'm doing.  What I'd like to see is the sticky cursor for free form
RPG.  I.e. a new line is indented at the same place as the previous line.

> -----Original Message-----
> From: SamL [mailto:lennon_s_j@hotmail.com]
> Sent: Thursday, October 03, 2002 6:51 PM
> To: code400-l@midrange.com
> Subject: Re: Corresponding End's
>
>
> I want the editor to indent for me.  Other editors do it. Code
> should too.
> If I have
> if a = b ;
>    c = d ;
> endif;
>
> and I wrap some more code around it
> if x > y ;
>    z =q ;
> if a = b ;
>    c = d ;
> endif ;
> endif ;
>
> I'd like the editor to straighten it out for me to
> if x > y ;
>    z =q ;
>    if a = b ;
>       c = d ;
>    endif ;
> endif ;
>
> If the editor can do it, why should I?
>
> Of course, it would also be nice to redo the indentation if you
> didn't like how the previous guy did it.  Or if he made a right
> dog's breakfast out of it.
>
> I'm not knocking free format.  I just want editor added structure
> in it.  Look at a Cobol program, which is free format.  How often
> isn't the code in the correct structure?
>
> Sam
>
> ----- Original Message -----
> From: "Don Freeman" <DFreeman@norcalwaste.com>
> To: <code400-l@midrange.com>
> Sent: Thursday, October 03, 2002 6:42 PM
> Subject: RE: Corresponding End's
>
>
> Just curious...What purpose would indent fill in free-form format?
> To me the ability to indent your control structures from within
> your code is one of the (if not THE) biggest advantages of using
> free format.  The indent function of CODE would be superfluous in
> this case.
>
> _______________________________________________
> 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.
>
> NOTE: WDSc for iSeries disucssion has it's own mailing list.
> Information can be found at
> http://lists.midrange.com/cgi-bin/listinfo/wdsc-l
>
NOTICE:
All e-mail sent to or from this e-mail address will be received or otherwise
recorded by The Sharper Image corporate e-mail system and is subject to
archival, monitoring, review by and/or disclosure to Sharper Image security
and other management. This message is intended only for the use of the
addressee and may contain information that is privileged and confidential.
The contents of this message may contain personal views which are not the
views of The Sharper Image. If you are not the intended recipient,
dissemination of this communication is prohibited.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.