Write a program to create a Dynamic array of size 5 elements and display all the elements.

Answer Posted / sunita001

redim my array(4)
my array(1)="23"
my array(2)="30"
my array(3)="21"
my array(4)-"12"
redim preserve my array(6)
my array(5)="43"
my array(6)="55"
msgbox my array(5)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign a numeric value to a variable?

626


How will you get the largest subscript of an array in vbscript?

617


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2396


Which operator can be used to change the value of the operand or change the state of the condition?

581


what is used of Property........End Property loop ? how to write the script for it?

1694






What are lbound and ubound in the vbscript language?

610


How will you get a subset of a array in vbscript?

593


i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1421


Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com

1053


What is purpose of scripting.filesystemobject class in vbscript?

635


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

549


Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).

1445


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

2039


Which object provide information about a single runtime error in a vbscript?

609


Explain about the support of asp for vb script functionality?

533