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



Craig,

I don't believe the View, Indent, works in free format, just in fixed 
format.  At least it didn't in Code last time I looked.  For example try 
this free format code:
     C/FREE
       for x = 1 to 3;
       y+=x;
       EndFor;
      /end-free 
     C                   for       x=1 to 3
     C                   eval      y+=x
     C                   EndFor


 And then do a View Indent.  You'll get:


     C/FREE
       for x = 1 to 3;
       y+=x;
       EndFor;
      /end-free
     C                   for       x=1 to 3
     C                   |  eval      y+=x
     C                   EndFor

Isn't that just the nuttiest thing you've ever heard of?

Or, for another example:

     C/FREE
       for x = 1 to 3;
       y+=x;
       EndFor;
      /end-free
     C     1             do        3             x
     C                   eval      y = x * 27
     C                   EndDo 

Becomes:

     C/FREE
       for x = 1 to 3;
       y+=x;
       EndFor;
      /end-free
     C     1             do        3             x
     C                   |  eval      y = x * 27
     C                   EndDo
 
But having the automatic indenting would be the bee's knees!

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 

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.