What is the difference between procedure and functions in VB?

Answer Posted / aftab

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.

Thanks!

Check out: Free computer eBooks download!
http://ebooksfree.brinkster.net

Is This Answer Correct ?    149 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of Data Form Wizard?

1546


How come I get a "No Current Record" error when I use a a Data Control on an empty table?

1051


What is snapshot in vb?

523


How do I make the mouse cursor invisible/visible?

925


1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report

3795






What is the use of parameters collection?

1549


How do you avoid the "Invalid use of null" error when reading null values from a database?

1112


Draw Sequence Modal of RDO and Explain?

1868


How many objects resides in ADO ?

1448


Explain about manipulating the recordset object

563


What is the use of Scalewidth and ScaleHeight Proeperty?

1460


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

1542


How can Visual Basic be used for server-side scripting?

537


what are the Types of LockEdits in RDO?

1669


what are the Types of Resultsets?

1655