Q: 
CASE structure implementation

hi ...my name is Sujana..and i m a CS student in India..
i want to implemetn a CASE structure(like in C) in VB..CAn u help me ?? i habve a interger Flag that when set shloulc execute only a particular conde like in C..

sujana pate; coolone@popmail.com 

A: a select case procedure is a very handy one: for example Select case Month(now) Case 1 strTMP = "January" Case 2 strTMP = "Februari" Case 3 strTMP = "March" Case Else strTMP = "not one of the first tree months of the year" End Select Msgbox strTMP Of course there are better ways to get the month but this is just for explaning the Select Case statement.. Return