Problem with INSTR()

John Esak john at valar.com
Thu Feb 16 12:33:41 PST 2006


Keith,

	Yes, I do agree with you... See mylast post.

John



> -----Original Message-----
> From: Keith' Weatherhead [mailto:keithw at ddltd.com]
> Sent: Thursday, February 16, 2006 11:53 AM
> To: john at valar.com
> Cc: Fplist (E-mail)
> Subject: Re: Problem with INSTR()
> 
> 
> 
> 
> John Esak wrote:
> 
> [text deleted]
> 
> >>Why not just make all of filePro case-significant?  Why should INSTR()
> >>be an exception to the rule?
> > 
> > 
> > This does not require any real answer. Because I think a 
> function designed
> > to return a particular value is *not* "all of filePro" it is a 
> particularly
> > designed function, and in this specific case, I think INSTR() should be
> > case-significant. Or at worst case, have an environment value 
> and/or option
> > to work either way... with the default to case-significant actually.
> > 
> > John
> 
> John, if this doesn't get to the list, please feel free to forward 
> and reply, my last several post attempts have been blocked. 
> Somebody using DirecWay has been bad apparently. -kfw
> 
> I agree with you John with one small exception.  I would rather see 
> the command modified to take an optional parameter that defaults to 
> not being required and means case-insensitive  AND  if there should 
> be the switch (the additional parameter) to specify 
> case-sensitivitey so that it is very clear at the point of being 
> done that case-sensitivitey is required and would not break any 
> existing code.  Having an environment variable would not necessarily 
> make the mode of the command easily visible to anybody new looking 
> at the code.
> 
> Regards,
> Keith
> -- 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Keith F. Weatherhead                   keithw at ddltd.com
> 
> Discus Data, LTD                  Voice: (815) 237-8467
> 3465 S Carbon Hill Rd               Fax: (815) 237-8641
> Braceville, IL  60407       Nat'l_Pager: (815) 768-8098
> - - - - - - - - - - - - - - - - - - - - - - - - - - - -


More information about the Filepro-list mailing list