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

> | > Select Case SelectMatrix(0)
> | >    Case SelectMatrix(0).value = True
> |
> | Off the top of my head (and based on a very quick look), I am not
sure
> | why the first cast is being selected;
>
> 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



--- UseNet To RIME Gateway {at} 2/11/05 10:44:59 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™.