VB scrip has a special command named LBound, which returns
the starting index of an arry. What are the possible indexes
an array can start with?
options are given below. and one only the correct answer. pl
select it

1. any index
2. only even non-negative
3. only 0
4. any non-negative integer

Answer Posted / harsha

array can start with 0 only as we start it.
example:
a="a,b,c,d"
splita=split(a,",")
for i =0 to Ubound(splita)-1
Msgbox splita(i)
Next
Here if you start i with any other number than 0 then we
cannot the see the starting element. you can try and see.

We cant use -ve numbers in array index.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

images are dynamically changes how to compare two images with out using the bitmap

2009


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1456


Explain Descriptive Programming Types with Examples?

931


What is test object?

708


How to recognise the webelement and verifying that webelement is enabled?

1653






What is the script for database check point, bitmapchek point, regular expression ?

1564


how interviews will be on QTP?

1525


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1502


Is it possible to change the values of analog recording?

582


How to handle dynamic objects in quicktest professional?

505


What are the different types of recording modes?

544


How to handle Java tree in QTP?

752


Have you done batch testing in qtp? If yes how you are doing?

514


What is a data driven test in qtp?

593


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1284