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

how does vb script help in web page designing? explain with example.

1761


Explain about the extension .hta?

838


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

801


Why is the use of exit do or exit for statements within loops discouraged?

773


How will you get the last occurrence of one string within another string using vbscript?

954


How are comments handled in the vbscript language?

721


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.?

2261


What are class events?

757


filter the array values without using filter function?

1885


Explain about filter expression?

776


Is vbscript a case-sensitive or case-insensitive?

990


There are 5 web pages.write a script to click the button on 4th web page.

3184


Is vbscript language a case-sensitive language and what does it mean?

760


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1124


Explain about tristate constants?

771