vb新手上路 有个编程问题求指教 谢谢!
做的一个关于天气的编程 样子我截了个图在附件, 内容是这样的:Dim color, mode As String
color = txtColor.Text
mode = txtMode.Text
Select Case color And mode
Case "Blue" And "S"
lblForecast.Text = "CLEAR VIEW"
Case "Blue" And "F"
lblForecast.Text = "CLOUDS DUE"
Case color = "Red" And "S"
lblForecast.Text = "RAIN AHEAD"
Case Else
lblForecast.Text = "SNOW INSTEAD"
End Select
就是你输入color和mode 再点击Describe position
会相应显示
Steady blue, clear view.
Flashing blue, clouds due.
Steady red, rain ahead.
Flashing red, snow instead.
但是我这个就会运行不了,请教大神们帮我修改下呗,多谢!!!