Find Out Length of an array without using Ubound?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1482


Explain the operator precedence in vb script?

646


what do you mean .ota mobile format

1932


Explain vbscript in detail?

613


What are the valid scopes of a variable in vbscript?

601






Explain the string concatenation function in vbscript?

532


How are values assigned to string type and numeric type variables?

533


after medical test,when will be the police verification

1707


How to replace junk code recorded by QTP with a mall function.

1638


how to automatically update the sql server2005 database records when insert in vb6?

1477


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1406


What is the use of option explicit statement?

578


how to operate webobjects in a webpage using getobject function and then using generic methods?

2536


how to set one column as primary key in QTP and fetch values accordingly

1819


Is VB Script Case sensitive or Case insensitive?

629