Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to return a value from function...?

you should not tell msgbox, print.. etc.,

Answer Posted / rishi agrawal

Function MyFunction(Num)

InputBox("What is your name?","My Input")
'Code for return value from function
MyFunction= Num + 1

End Function

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Illustrate briefly about the different types of statement

2438


How to replace junk code recorded by QTP with a mall function.

2016


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

1228


What is variant in vb script?

1092


about vb scripting programs this type of all question& answers

2099


Explain about scrrun.dll?

899


How can you fetch the value of a cookie?

965


Mention the environments where vbscript could be run?

1149


i need to sort the data using qtp script for this how i need to write a qtp script

3617


did any one attended interview in applabs if you had gone through plz tell me the procedure

2211


where can i learn VB scripint ?

2031


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

931


what is the standards used for writing the script in QTP

2273


What is sql loader? Explain the files used by sql loader to load file?

1092


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

944