Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #1253
| From | "Auric__" <not.my.real@email.address> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: "Best" way to determine Option Compare? |
| Date | 2012-07-06 03:07 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <XnsA087CCE07C907auricauricauricauric@88.198.244.100> (permalink) |
| References | <XnsA0869D0341D5Aauricauricauricauric@88.198.244.100> <jt3hlr$eaa$1@speranza.aioe.org> |
Deanna Earley wrote: > On 04/07/2012 23:25, Auric__ wrote: >> Is there any built-in method to determine what Option Compare method is >> in effect? Right now I'm just doing this (which ignores >> vbDatabaseCompare, which I never use): >> >> If "A" = "a" Then >> cmp = vbTextCompare >> Else >> cmp = vbBinaryCompare >> End If > > Out of interest why does the code need to know? Replicating (and extending) various string functions: currently InStr and Split, with more in the near future. Mostly as a mental exercise. > If it requires a specific compare, use StrComp() and pass an explicit > mode. ...which is the exact opposite of what I want. :-) -- Why am I back here? HOLY SHIT WHAT'S GOING ON Oh, hello again.
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Find similar
"Best" way to determine Option Compare? "Auric__" <not.my.real@email.address> - 2012-07-04 22:25 +0000
Re: "Best" way to determine Option Compare? Deanna Earley <dee.earley@icode.co.uk> - 2012-07-05 09:02 +0100
Re: "Best" way to determine Option Compare? "Auric__" <not.my.real@email.address> - 2012-07-06 03:07 +0000
csiph-web