|
-
May 31st, 2000, 08:12 AM
#10
Fanatic Member
Not sure about VB but in C the case statement is faster but in C there is no "elseif" statement, just an else followed by another if. so all the expressions get evaluated unlike the case statement.
VB has an elseif statement so ....?
dunno !!
I use case statements if I have more than two elseifs or if I think more will be added later. it's easier to read.
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|