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 vb script to print even numbers from 1-50?

Answer Posted / smitha

for i = 1 to 50
if i mod 2 = 0 Then
evenStr = evenstr & i & " , "
end if
Next
MsgBox evenStr

Is This Answer Correct ?    34 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp?

1016


what is the difference between modular framework & datadriven framework

2045


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

2220


how to explain a claims and insurance project?

2216


What are parameterizing tests?

986


What are the 3 main stages involved in testing with qtp?

1055


Without using gui map editor we can recognize the application in winrunner ?

1018


What is object repository in qtp?

991


How you know that a test case is a regression test case

3941


If created one virtual object? Next time I changed the window position will it work?

1013


How to get the particular property value?

1017


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1715


what is vmodel?advantages and disadvantages of vmodel?

2105


How can you handle exceptions in qtp?

985


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1908