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


Please Help Members By Posting Answers For Below Questions

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

2141


What is the difference between vbscript and vba?

845


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1783


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?

2241


Explain about vb script?

986


What are the 2 ways to pass a value to the function?

740


Explain the operator precedence in vb script?

865


Explain vbscript in detail?

836


what is the differance between BYVAL,BYREF?

2022


How many types of procedures are available in the vbscript language?

752


What is event handling in vbscript?

832


how to write validation function for date in vb script

2352


How to Convert Hex color code to color name in VB Script?

4181


How to assign a date value to a variable?

800


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

1854