Re: VB.NET question



Hi
Thanks Mark. I must be asleep I can see now it is so obvious just change
the dictionary- 30 years of doing it sensibly lulled me. Of course I will
need two for every attribute if as you say some twerp actually wants to be a
pain and use case sensitivity. As for Item ids they will be set in stone as
uppercase or special case that is rigidly forced to a specific rule I am
definitely not allowing Itemid and ItemId as two items in the same file.
As for Valley speak the only time we run into it is when somebody like Billy
Connelly jokes about it. However you might enjoy the issue that is being
discussed in England - children are starting to use Australian expressions
instead of the Queen's English, and they blame "Neighbours" an Australian
program I have never seen but my English brother assures me is very popular
with teen and tween girls of which he has two.
Regards
Peter McMurray
"Mark Brown" <mbrown@xxxxxxxxxxxxx> wrote in message
news:46a818f0$0$29685$4c368faf@xxxxxxxxxxxxxxxxx
Peter,

Well, at least you didn't bust my chops about the "valley speak": LIKE,
dude, it was LIKE totally LIKE creative!!

I can't remember right off, but someone just the other day was telling us
how wonderful their flavor of mv was because it was "case sensitive", and
I made some crude remark about bringing you last centuries technolgy
tomorrow.

You can't have it both ways. Either you're insensitive (and SmItH = SMITH
= smith) or not. Some systems toute that they are KEY sensitive, or that
somehow case sensitivity and all the compare errors it produces is a good
thing.

In the R83-style, case sensitive systems, you just need a function like
LCASE or UCASE or OCONV(something,'MCU') to level the playing field.

D3 has a neat OCONV way of calling subroutines as functions, so I do
something like:

sub UCASE(px)
px = oconv(px,'mcu')
return

and in the mainline something like:

if OCONV(text1,'CALL UCASE') = OCONV(text2,'CALL UCASE') then...

Mark


"Excalibur" <excalibur21@xxxxxxxxxxx> wrote in message
news:d0Spi.12122$4A1.2640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Mark
That is great. Now do you have a neat way of getting around the issue in
UV, Cache, QM etc. I definitely want users to be able to find Smith or
SMITH or smith by typing sMiTh. I am looking at running through the
database changing cases but I found a couple more such as tk1 or TK1
which
gets even messier. Even then it is hard to get users to understand why
their queries work in Windows Explorer and not in UV type Pick.
Regards
Peter McMurray

"Mark Brown" <mbrown@xxxxxxxxxxxxx> wrote in message
news:46a774bf$0$4700$4c368faf@xxxxxxxxxxxxxxxxx
VB usues LIKE as a match command.

Any VB help will tell you the syntax and options. Be carefull with
OPTION
COMPARE TEXT and OPTION COMPARE BINARY are very important if you want
aAa
to
equal AaA.

Mark Brown


"sh" <shamada@xxxxxxxxxxx> wrote in message
news:gkIpi.10783$tj6.9664@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've posted this question on the VB.NET site, but I haven't gotten any
good answers yet (only "write your own procedure"). I'm posting it
here
because MV people will know what I'm looking for, and maybe some of
the
.NET people here will have the solution.

I'm looking for the VB.NET equivalent of our beloved MATCH statement.
For
instance, IF X MATCH "4N" or IF X MATCH "3N1A2N" or IF X MATCH
"2N'-'2N",
or IF X MATCH "0A", etc.

I thought a regular expression (RegEx) might work, but I find its'
language so complex I can't even get started with it (I need an easy
step
by step tutorial, but haven't found one yet). And even then, I'm not
sure
it does what I want.

Anyone have any ideas? Thanks.

Sholom








.



Relevant Pages

  • Re: VB.NET question
    ... smith) or not. ... somehow case sensitivity and all the compare errors it produces is a good ... their queries work in Windows Explorer and not in UV type Pick. ... COMPARE TEXT and OPTION COMPARE BINARY are very important if you want aAa ...
    (comp.databases.pick)
  • Re: A better cloning mechanism (was: Why not cloneable by default?)
    ... Chris Smith wrote: ... risk ending up with the John Smith who does building maintenance, ... >Car object for both pieces of state, then your design is a bit odd. ... you may need to compare the identity ...
    (comp.lang.java.programmer)
  • The Fourth of July: A Day of Mourning?
    ... By Mark D. Tooley ... Should Christians mourn on July 4, given what a disaster the United ... The answer from Smith is: ... Independence Day altogether: “I celebrated the Fourth like a Puritan ...
    (alt.politics.bush)
  • Re: Great news for road safety. Smiths ticker stops.
    ... On 13 Aug, 12:44, Mark T ... Smith and his website contribute to the lawless behaviour of the ... The Safespeeding posters invade cycling forums (see post above yours ... a self-promoting liar who threatens people ...
    (uk.rec.cycling)
  • Re: A better cloning mechanism (was: Why not cloneable by default?)
    ... Chris Smith wrote: ... >used from client code, and it's a real pain when they guess wrong. ... >number using some kind of other Car instance to compare against. ...
    (comp.lang.java.programmer)