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 / mano

the above answer is right but in second program pass wil display 3 times

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3038


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

513


how to increasing the numbers in a given text box please write a vb script

1706


How strcomp function works?

626


what is resorceallocation

1776






Explain the filter expression?

634


What are the environments supported by vbscript language?

508


Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

1434


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

1801


How will you convert a string to lower case string using vbscript?

561


How will you reverse a string in vbscript?

621


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

528


What is select case statement?

609


Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.

1625


1. How do declare public variable in vb scripts?

1579