borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Getting System Colour Constants)Next Topic (what form on the screen) New Topic New Poll Post Reply
AndreaVB Forum : Frequently Asked Questions : select..case..true
Poster Message
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891

icon select..case..true

Guys,
Moved to a new company and seen this format wicked!!!
select case true
   case var1="yes"
      do stuff
   case var2<>"thingy"
      do stuff
   case var4="yes",var5="whatsit"
      do stuff
end select
K



[Edited by stickleprojects on 24-09-2005 at 01:35 AM GMT]

____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)

24-09-2005 at 01:34 AM
View Profile Send Email to User Show All Posts | Quote Reply
yronium
Level: Moderator


Registered: 14-04-2002
Posts: 907
icon Re: select..case..true

Not that bad, K, maybe a bit harder to read, but worth a try...
Thanky for the tip.

____________________________
Real Programmer can count up to 1024 on his fingers

30-09-2005 at 08:09 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Frequently Asked Questions : select..case..true
Previous Topic (Getting System Colour Constants)Next Topic (what form on the screen) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder