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 |
What is Procedure or Subroutine in VB Script?
How do you create a recordset object in VBScript?
Explain the support of asp for vb script functionality?
filter the array values without using filter function?
write a vb script to find the size of d drive?
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?
How to return a value from function...? you should not tell msgbox, print.. etc.,
what is test scenario?
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know how many such objects are there? what is the class of that objects?
What are lbound and ubound in the vbscript language?
Which operator can be used to check if two numbers are equal or not in vbscript?