write a vb script to generate 3*3 matrix
Answers were Sorted based on User's Feedback
Answer / mudaseer
dim varr(2,2)
for i=0 to 2 step 1
for j=0 to 2 step 1
varr(i,j)=inputbox("enter the value")
next
next
for i=0 to 2 step 1
for j=0 to 2 step 1
vstr=vstr & varr(i,j) & " "
next
msgbox vstr
vstr=vstr & vbnewline
next
msgbox vstr
by mudaseer20@gmail.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / smita
dim varr(2,3)
for i=0 to ubound(a,1)
for j=0 to ubound(a,2)
varr(i,j)=inputbox("enter the value")
next
next
for i=0 to 2 step 1
for j=0 to 3 step 1
vstr=vstr & varr(i,j) & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
| Is This Answer Correct ? | 0 Yes | 0 No |
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
Explain the difference between POST and GET Method.
How can you create a file object to work with the files in the vbscript language?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Explain what is loose binding? Why is it not a good practice to use it?
hi, How will write a regular expression of date in VB scripting.
Which date function is used in the vbscript language to find the difference between the 2 dates?
How will you check that a variable is an array in vbscript?
Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
How will you get the last occurrence of one string within another string using vbscript?