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
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
Explain the adodb.stream class?
Explain the support of asp for vb script functionality?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
i need to sort the data using qtp script for this how i need to write a qtp script
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
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.
What are the different types of loops available in the vbscript language?
wht must be the interview question on corinthian information technology solutions incorporated.
Mention what is the main difference between function and sub-procedure?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Write a code to print numbers from 5 to 0?
What are the rules to name variable in vbscript?
Which loop is used in case of arrays in the vbscript language?
What is the output of a + b in vbscript if a = 5 and b = 10?