How to return a value from function...?
you should not tell msgbox, print.. etc.,
Answer Posted / siba sankar nayak
In which language?
In C. C++, Java like language,
we can use "return" key word to returnd values from
functions.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to assign a date value to a variable?
How to write functions and sub in vb script?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
When to use function procedures and what are its characteristics?
How to open browser in vb script?
How will you reverse a string in vbscript?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
How will you get the natural logarithm of the given number in vbscript?
Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
How can constants be declared in the vbscript language?
What is the difference between VBScript and JavaScript?
How will you convert a given number to long in vbscript?
What are the properties of regexp object?
What are class events?