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

Can anyone help me in write coding to get this pattern * ** *** ****

3 Answers  


what is the function to get the ascii value of the character?

6 Answers   Netxcell, Oracle,


Explain about arrays in vb script?

0 Answers  


Does VB/Win make standalone .EXE files?

0 Answers  


How to search word in a string without using instring function?

1 Answers   CSS Corp,


what is the differance between BYVAL,BYREF?

0 Answers  


Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer

1 Answers  


what is diff b/n these 2 programs 1) for i=5 to 1 step 2 msgbox "pass" next 2_) for i=5 to 1 step -2 msgbox "pass" next

5 Answers   Hexaware,


What is the difference between vbscript and vba?

0 Answers  


write any ttest cases using check points and parameterization

0 Answers  


who will create the object?

0 Answers   Estuate,


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

0 Answers  


Categories