Answer Posted / venkatesh
option explicit
dim myarray,max,i
myarray = array( 34,23,45,67,12 )
max=myarray(0)
for i=0 to ubound(myarray)
if max < myarray(i) then
max=myarray(i)
end if
next
msgbox "max number is : "&max
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
how to increase the values in text box in a given text box increament by two values by clicking on button
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
What is the difference between do until loop and do while loop?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
what is resorceallocation
What are subprocedures in vbscript?
Explain How do you create a recordset object in vbscript?
after medical test,when will be the police verification
Which loop is used in case of arrays in the vbscript language?
What is the purpose of on error resume next statement?
Which in-built functions are used to convert the specified expression in the form of date and string 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.?
What are keywords in the vbscript language?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
How will you get the octal value of the given number in vbscript?