1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
how to find using vbscripting
Answers were Sorted based on User's Feedback
Answer / abbas khan
Option Explicit
Dim Var, i, j
For i = 1 To 5 Step 1
For j = 1 To i Step 1
Var = Var &i &Space(3)
Next
Var = Var &vbNewLine
Next
Msgbox Var
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sumathi
n=inputbox("enter a number")
For i=1 to n
x=" "
For j=1 to i
x=x&vbtab&i
Next
print x
Next
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / prathyusha
for i=1 to 5
for j=1 to i
n=n&i
next
v=v&vbcrlf&n
next
msgbox v
| Is This Answer Correct ? | 0 Yes | 0 No |
How will you convert a given number to long in vbscript?
How to throw an error in vbscript?
What is byref and byval parameters in vbscript?
write a vb script to calculate factorial of a number?
What is the use of the instr function?
How to create a cookie using vbscript?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
Can anyone help me in write coding to get this pattern * ** *** ****
How to Import data from a file (file is on the desktop) to the data table
Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME
write a vbscript for traffic signal
join all the array values without using join function?