Find Out Length of an array without using Ubound?



Find Out Length of an array without using Ubound?..

Answer / usha

arr=array(10,20,30,40,50)
k=0
For each t in arr
k=k+1
msgbox t
Next
msgbox k

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

There are 5 web pages.write a script to click the button on 4th web page.

1 Answers   Accenture,


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail now give procedure & Coding For that Scenario

4 Answers   AppLabs, IBM,


How do you get the value of a combo box in Javascript?

2 Answers   Aspire,


What are the data types supported by vbscript?

1 Answers  


What are the different types of loops available in the vbscript language?

1 Answers  


Difference between dim,public and private variables in vb script?

1 Answers  


am giving to one number u can set into that in date format.u can use any methods

1 Answers   HP,


I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem

1 Answers  


Is VBscript case-sensitive?

3 Answers  


write a vbscrpit to swap values

2 Answers   Adani,


What is the difference between ByRef and ByVal. When to use ByRef and ByVal

5 Answers   Polaris, TCS,


Categories