TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: `rick Rothstein` ricknos
date: 2005-02-12 14:51:00
subject: Re: Case problemMCAST.NET

> | > If SelectMatrix(0) is True, then (SelectMatrix(0).Value = True) is
> | True,
> | > so the first case matches the selection expression.
> | >
> | > If SelectMatrix(0) is False, then (SelectMatrix(0).Value = True)
is
> | > False, so the first case matches the selection expression.
> |
> | Yes, you are right, that is definitely the reason. As I said, I
didn't
> | look at the logic in any detail as I recognized what the OP was
trying
> | to do and felt a mini-lesson to try and guide him was in order
> instead.
> |
> | Rick - MVP
> |
>
> I figured you probably hadn't really looked at it. I just thought it
was
> a curiously interesting example of VB doing what it was it told to do,
> rather than doing what it was meant to do.

Oh, no question about that... the OP created an interesting piece of
"self correcting" (for lack of a better term) logic. I'm glad you looked
at it in more detail than I did. I had intended to come back to the code
later on to see why it did what it did... but I forgot to. :-(

Rick - MVP



--- UseNet To RIME Gateway {at} 2/12/05 2:45:01 PM ---
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270 5030/786
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.