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
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Explain about filter expression?
What purpose does ‘on error resume next’ serves?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
What are subprocedures in vbscript?
How to declare an array in vbscript?
Is vbscript language a case-sensitive language and what does it mean?
How to access array data?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
how to automatically update the sql server2005 database records when insert in vb6?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
How will you compare two strings in vbscript?
In html file what is an ideal position to include vbscript?
What is the difference between vbscript and vba?
Mention how to assign a date value to a variable?