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

Mention the environments where vbscript could be run?

0 Answers  


Check whether given Number is Even or Odd?

2 Answers   HDFC,


Diff between web table ,datatable and data base (QTP)

2 Answers   TCS,


Write VB script to convert from feet to inches(hint 1feet=12 inches)

2 Answers  


how to store charecters of HARIBABU Using arrays

4 Answers   Cap Gemini,






In what way program "hello world" you can write in vbscript?

0 Answers  


How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")

2 Answers  


what is the function to display current date?

4 Answers  


How will you get a combined string from array of string in vbscript?

0 Answers  


How can I access an object in another frame?

1 Answers  


What are the special sub-types in vbscript?

0 Answers  


how to write code: to check whether the window of an Application Under Test exist or not . plz give with example

2 Answers  


Categories