Difference between Do while loop and while wend loop
Answer / 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 |
best training centre in bangalore
How to open excel in vb script?
What is the use of the date function in the vbscript language?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
Is VB Script Case sensitive or Case insensitive?
How to create a function in vbscript?
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
How will you get the octal value of the given number in vbscript?
Mention what if you do not specify anything when you call a procedure?
Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?
How to Import data from a file (file is on the desktop) to the data table
Mention what is the main difference between function and sub-procedure?