filepro quirk

Jeff Harrison jeffaharrison at yahoo.com
Thu Oct 28 17:33:51 PDT 2004


--- Fairlight <fairlite at fairlite.com> wrote:

> Simon--er, no...it was Jeff Harrison--said:
> > 
> > Sure.  In most languages you would need to use a
> mid
> > or left command or something similar to get the
> same
> > functionality:
> [snip]
> > Lets see, that's at least 13 characters saved per
> > comparison (not counting the "if, then, endif" 
> :-)
> 
> Which is fine and well--WHEN you want it to behave
> that way.  I think
> the point is that there should be a way to do an
> absolute, unequivocable
> equality test, independant of whatever the language
> "thinks" you want when
> you currently say 'eq'.
> 
> mark->
> -- 

There is the compare function for the unequivical
compare.  Also, if you are always comparing the same
number of characters there is no problem.  i.e. if two
fields are defined as the same length and you are
comparing the two, or if you include the correct
number of spaces in your literal compare.

Jeff Harrison
jeffaharrison at yahoo.com

Author of JHImport and JHExport. The fastest and
easiest way to create code for filePro Imports and
Exports. 


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 


More information about the Filepro-list mailing list