× 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 perfer to have the statments indented from the control statments.

If A=B;
    C = NewValue;
  else;
    D = NewValue;
Endif;




Jeff Stevens
Mize, Houser & Co. P.A.
913 451 1882
JStevens@xxxxxxxxxxxxxx



rpg400-l-bounces@xxxxxxxxxxxx wrote on 07/27/2005 01:05:47 PM:

> You could follow the technique's used when using WDSC to develop RPG 
code. 
>  Although I do tend to change their
> Select;
>   When x=1;
>     // Do this
>   When x=2;
>     // Do that
> EndSl;
> 
> to
> Select;
> When x=1;
>   // Do this
> When x=2;
>   // Do that
> EndSl;
> 
> Maybe I'm wrong, but isn't the EndSl indicative of where the immediately 

> previous When part stops executing?
> 
> Rob Berendt
> -- 
> Group Dekko Services, LLC
> Dept 01.073
> PO Box 2000
> Dock 108
> 6928N 400E
> Kendallville, IN 46755
> http://www.dekko.com
> 
> 
> 
> 
> 
> RPower@xxxxxxxxxx 
> Sent by: rpg400-l-bounces@xxxxxxxxxxxx
> 07/27/2005 02:35 PM
> Please respond to
> RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
> 
> 
> To
> RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
> cc
> 
> Subject
> Proper indentation guidelines for FreeFormat?
> 
> 
> 
> 
> 
> 
> Does anyone have any Proper indentation guidelines for FreeFormat 
coding? 
> Such as If statements, Select statements etc?  I know it's personal 
> preference, but would like some ideas to help set a style.
> 
> Ron Power
> Programmer
> Information Services
> City Of St. John's, NL
> P.O. Box 908
> St. John's, NL
> A1C 5M2
> 709-576-8132
> rpower@xxxxxxxxxx
> http://www.stjohns.ca/
> 
___________________________________________________________________________
> Success is going from failure to failure without a loss of enthusiasm. - 

> Sir Winston Churchill

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.