Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can anybody code this problem for me in VB script -
Create an array of 4 elements, increase its size to 7
elements and then find out which of the elements are prime
(use functions)

Answer Posted / sadashivbyagi

we should use the dynamic array to resize the array then we
can change the size of the array

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write VB script for login module?

3120


How can the spaces from the string be removed?

958


Explain vbscript in detail?

1010


Mention what is vbscript procedures?

939


Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

2371


Explain the arrays in vb script?

1003


Mention how you can call vbscript functions?

1045


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1021


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1669


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

957


In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?

2423


What are the differences between sub procedures and function procedures?

933


Mention how to assign a date value to a variable?

1024


What is the use of option explicit statement?

944


What is the use of the date function in the vbscript language?

953