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



Sticky cursor--preservation of indent level--is a feature almost every PC
programmer's editor has had since the dawn of time.  I use the SEU indent
line commands in CODE.  I'd rather not have to, but it seems like that's the
best thing available.  

> -----Original Message-----
> From: rob@dekko.com [mailto:rob@dekko.com]
> Sent: Tuesday, January 28, 2003 7:36 AM
> To: CODE/400 Discussion & Support
> Subject: Re: How to set tabs for free form mode
> 
> 
> Dave, 
> 
> There currently is no method to "beautify" the code.  And TPTB have 
> decided that you don't need that function.  In fact, they 
> have decided 
> that once you are in free form then you will never make an 
> error on your 
> loop structures, etc thus you do not need the View - Indent 
> option that is 
> available on fixed format code.  If you want this function in 
> free format 
> then you will need an enhanced editor, like SEU.  (And the 
> third party 
> product RPGAlive available at:
> http://rpgalive.com/
> 
> Sure wish they would add this to code/400 though.
> 
> It is probably considered a design enhancement to not do 
> large looping. 
> Break your code down into ridiculous chunks.
> /free
>  for x = 1 to 10;
>   if ary(x) >20;
>    // do this and that
>   endif;  // ary(x)>20
>  endfor;  // x = 1 to 10
> /end free
> 
> becomes:
> /free
>  for x = 1 to 10;
>   aryofxsub();  // define a subprocedure to break down looping
>  endfor;  // x = 1 to 10
> /end free
> 
>  
> 
> Rob Berendt
> -- 
> "They that can give up essential liberty to obtain a little temporary 
> safety deserve neither liberty nor safety." 
> Benjamin Franklin 
> 
> 
> 
> 
> > 
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.