write a vbscript for traffic signal
Answer / manjunathareddy
Dim Red
Dim Green
Dim Orange
Dim Traffic
Traffic=InputBox("1.Red"&Vbnewline&"2.Green"&vbnewline&"3.Orange","Traffic
Signal")
Select Case Traffic
Case 1
Msgbox "Stop"
Case 2
Msgbox "Move"
Case 3
Msgbox "Ready to Move"
Case Else
Msgbox "Invalid Selection"
End Select
| Is This Answer Correct ? | 6 Yes | 1 No |
How strcomp function works?
How many types of operators are available in the vbscript language?
Input = 124 output should be 124421 Please do not use any string functions/variables
How to Enter Values on the Command promt using VB script
How to capture a runtime error in vbscript?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
what is resorceallocation
Explain vbscript in detail?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.
What is the main difference between function and sub-procedure?
what is the function to get the ascii value of the character?