Question about Multi-Field Indexes

John Esak john at valar.com
Wed Sep 1 07:36:24 PDT 2010


Yes, the line length of cabe is bothersome. Some get around it with vi, I
don't do that.

However... You don't have agonize over if-conditions that are too long.

   If: very long condition
 then:  blah, blah

Can be easily turned into 

Line_1 if: half of the condition 
  t   hen:
Line_2 if: the other half of the condition
     then:
       if: line_1 and line_2
     then: blah, blah

And of course, for 1/3's, 1/4's, 1/8's, etc. with a few more smaller and
smaller lables.

Of course you can also or (or even not) the group labels.  So, it's not like
you have to do more testing, just create larger pseudo conditions by using
group names.

You might already do this, but maybe others don't know this can be done.

John

 

> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com 
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
> m] On Behalf Of Fairlight
> Sent: Wednesday, September 01, 2010 4:05 AM
> To: filepro-list at lists.celestial.com
> Subject: Re: Question about Multi-Field Indexes
> 
> Well, I learned AppleSoft BASIC, and it didn't have that problem with
> spaces.  But I do quite often squeeze every space I can out 
> of fP code.
> It's not a formatting desire--my perl code I make sure to 
> include spaces
> for readability.
> 
> What it is, is the damned cabe editor's limitations on characters per
> segment.  I'm often pressed for space, and hate using extra 
> lines for THEN
> actions.  What's worse is when you have a very large 
> conditional IF clause,
> and you can't fit what you need into one line, resulting in 
> the need to use
> multiple lines and change the logic to fit the need for 
> another line (often
> by using a flag that tells me the first line did or didn't test true).
> Drives me nuts.
> 
> If it weren't for cabe's limitations, my code would read a 
> lot cleaner.  As
> it is, I just consider it mild "job security" and leave it at 
> that.  *grin*
> 
> mark->
> 
> 
> On Wed, Sep 01, 2010 at 03:16:06AM -0400, after drawing runes 
> in goat's blood,
> John Esak cast forth these immortal, mystical words:
> > So many of us who learned through that route (Dartmouth
> > BASIC in my case) started squishing out every unnecessary 
> space.  God, that
> > is a horrific thing to do in filePro.  I wish people would 
> just understand
> > that doing that is COMPLETELY unnecessary... And NOT DO IT.  
> 
> -- 
> Audio panton, cogito singularis.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
> 



More information about the Filepro-list mailing list