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

Description.Create

2606


How will you convert a given number to long in vbscript?

841


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

954


how to automatically update the sql server2005 database records when insert in vb6?

1894


after medical test,when will be the police verification

2115


Explain about operator precedence in vb script?

1021


Mention what is vbscript procedures?

948


How will you get the natural logarithm of the given number in vbscript?

997


What are lbound and ubound in the vbscript language?

1038


How to open a file. What is the perpose of true and false mode there?

1071


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

967


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

989


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?

958


How to access array data?

955


How do you declare a variable in vbscript?

1027