Difference between Do while loop and while wend loop
Answer Posted / remya
The difference between do while and while wend loop .
Do while executes if the condition is true
While wend executes atleast once irrespective of conditions.
Ex:
Do while
Dim x
x=1
Do While x<5
document.write("Welcome.")
x=x+1
Loop
While wend:
Dim x
x=7
Do
document.write("Welcome.")
x=x+1
Loop While x<5
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is vbscript procedures?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Which operator can be used to check if two numbers are equal or not in vbscript?
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
Explain about scrrun.dll in vbscript?
how to acces the remote mechine using vb cript(QTP)
Explain the support of asp for vb script functionality?
How to write VB script for login module?
what is diff between static and dynaic arrys?
What are keywords in the vbscript language?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
Explain the string concatenation function in vbscript?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
What are class events?
how to increasing the numbers in a given text box please write a vb script