when you use For Loop, While..do, do..while? at what
situations which loop will use.



when you use For Loop, While..do, do..while? at what situations which loop will use...

Answer / satyanj

"For" loop can be used when the range of the iteration is
known. For ex: For i = 1 to 100....
"While..do" or "do..While" can be used when, the scenario
should satisfy the condition.
For Ex: While (<Condition>)...

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

How can I get the value of an object property or variable in another frame?

1 Answers   Citi Bank,


Is VB Script Case sensitive or Case insensitive?

0 Answers  


How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.

2 Answers   Cognizant,


how does vb script help in web page designing? explain with example.

0 Answers  


find the length of the string without using length function?

4 Answers   CSS Corp,






Explain the filter expression?

0 Answers  


What is difference between vbscript and vba?

0 Answers  


Explain about operator precedence in vb script?

0 Answers  


Which date function is used in the vbscript language to find the difference between the 2 dates?

0 Answers  


Explain sga memory structures?

0 Answers  


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

0 Answers  


Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..

10 Answers   Amazon, CSC,


Categories