Guaranteed Hits to your web site!












Learn Visual Basic 6.0


2. The Visual Basic Language


Select Case - Another Way to Branch

  1. In addition to If/Then/Else type statements, the Select Case format can be used when there are multiple selection possibilities.

  2. Say we've written this code using the If statement:
    The corresponding code with Select Case would be:
    Notice there are several formats for the Case statement. Consult on-line help for discussions of these formats.


Pen Line


Counter Hit Counter Hit


This Homepage is special brought to you by CK Tan
Hosted by www.Geocities.ws

1