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

Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3188


Explain about the support of asp for vb script functionality?

528


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

545


Explain about scrrun.dll?

528


How will you reverse a string in vbscript?

620






Anyone have qtp11.0 crack?

2380


What is the output of a + b in vbscript if a = 5 and b = 10?

2093


What is variant in vb script?

626


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1550


what is the difference between modular and data and keyword driven framework

1738


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1750


What are the differences between sub procedures and function procedures?

520


Out of the different type of operators, which are evaluated first and last in the vbscript language?

561


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

549


How are values assigned to string type and numeric type variables?

538