Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a vbscript for traffic signal

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Anyone have qtp11.0 crack?

2839


How to replace junk code recorded by QTP with a mall function.

2097


Explain vbscript in detail?

1062


What is the use of option explicit in vbscript?

999


what is diff between static and dynaic arrys?

2163


What are the environments supported by vbscript language?

945


What are the valid scopes of a variable in vbscript?

1106


What if you do not specify anything when you call a procedure?

1138


Why is the use of exit do or exit for statements within loops discouraged?

1047


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

2061


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

2505


What are class events?

989


How will you reverse a string in vbscript?

1165


Mention what is variant in vbscript?

951


How will you compare two strings in vbscript?

1077