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 / supriya shringi

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 ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1s it posible to Create Tables Through Querydef?

2111


How can you Navigate from the DHTML application to another DHTML application? .

1801


____ property is used to lock a textbox to enter a datas.

1582


___ property is used to change to ___ value to access a identity column'in datacontrols.

1569


How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?

1494


Explain about control properties?

1076


Types of ActiveX Components in VB?

1849


What is ActiveX Control?

2181


what is the Property used to add a menus at runtime?

2113


What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.

1462


What is snapshot in vb?

904


How would you run your ActiveX Document Dll?

1857


How can you check whether a record is valid record or Invalid record using ADO control or Object?

1886


It is possible to access Text (x.txt) files? Explain.

1960


How to control the file?

1052