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
How to write VB script for login module?
How can the spaces from the string be removed?
Explain vbscript in detail?
Mention what is vbscript procedures?
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
Explain the arrays in vb script?
Mention how you can call vbscript functions?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
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
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?
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?
What are the differences between sub procedures and function procedures?
Mention how to assign a date value to a variable?
What is the use of option explicit statement?
What is the use of the date function in the vbscript language?