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

What is the difference between procedure and functions in VB?

Answer Posted / ramani ghanshyam p

What is deffrent between Procedure and Fuction ?
ans.1 A procedure is a set of code that does the work but
does
not return a value whereas a function accepts
parameters
and does the calculation and does return a value
back.

Funcion returns the value and proocedeur does not
return
the value
1.Procedure accept input output parameter But
function
accept only input parameter.
2. Function return the value but procuder not
return the
value.
3.Some Condition procedure return the value like
text,
ntext,timestemp data type value but function not
return
text,ntext,timestemp value
Procedure is a bundle of code it does not have
return type
Function Have return type and take only input
Parameater
procedure is block of statement that doesnot return
value,function is accept parameters and return
output

Is This Answer Correct ?    41 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the Types of DBCombo boxes?

2115


What is ado in vb?

914


Explain Types of DBCombo boxes?

964


How do I do Peek and Poke and other low-level stuff?

1425


Explain about the creation of EXE files with Visual Basic?

987


How would you create your application in DHTML?

1853


___,__,___ are the type of combo box?

1552


What language does visual basic use?

934


What are the types of Error? In which areas the Error occurs?

2064


What is the use of Hyperlink control for DHTML applications?

2429


What is executenonquery in vb net?

919


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

2163


___ VB constant make the menu item in centre.

1745


Which property of textbox cannot be changed at runtime. What is the max size of textbox?

996


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

1323