Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1250

Re: "Best" way to determine Option Compare?

From Deanna Earley <dee.earley@icode.co.uk>
Newsgroups comp.lang.basic.visual.misc
Subject Re: "Best" way to determine Option Compare?
Date 2012-07-05 09:02 +0100
Organization Aioe.org NNTP Server
Message-ID <jt3hlr$eaa$1@speranza.aioe.org> (permalink)
References <XnsA0869D0341D5Aauricauricauricauric@88.198.244.100>

Show all headers | View raw


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?
If it requires a specific compare, use StrComp() and pass an explicit mode.

-- 
Deanna Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored. Please reply to the 
group.)

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

"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