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
What are the advantages of vbscript?
What is the main difference between function and sub-procedure?
How will you check that a variable is an array in vbscript?
What is vbscript language used for and which earlier language is it modeled upon?
Which function is used in the vbscript language to convert the specified expression into a date type value?
Explain about the support of asp for vb script functionality?
Mention how you can call vbscript functions?
How can you create a file object to work with the files in the vbscript language?
how to automatically update the sql server2005 database records when insert in vb6?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
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.
Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?
What is the difference between vb debugger and the script debugger?
What is the difference between a dictionary and an array?
What is vbscript?