what is diff b/n these 2 programs
1) for i=5 to 1 step 2
msgbox "pass"
next
2_) for i=5 to 1 step -2
msgbox "pass"
next

Answer Posted / veer

From the first one will not display any message box because the condition is not true but it shows result as "done" in the result window .

From the second one will display a message box "pass" 3 times

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1437


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

1812


what is used of Property........End Property loop ? how to write the script for it?

1693


Explain few date functions in vbscript?

616


Is VB Script Case sensitive or Case insensitive?

640






about vb scripting programs this type of all question& answers

1697


What is the use of the recordset object and which statement is used to create such an object?

531


what is the use of QCUtil? explain with one example?

6326


How to Import data from a file (file is on the desktop) to the data table

1588


what is the object hyrarchy in QTP for a web based application

1889


Out of the different type of operators, which are evaluated first and last in the vbscript language?

567


What are the different types of loops available in the vbscript language?

536


give me any information abou vb script books learn quckly

1661


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1554


How will you get the octal value of the given number in vbscript?

502