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

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

1161


What is script control?

575


What is connection object in vb net?

594


What is meant by Establish Connection in RDO?

1852


How do you change the icon and otherwise manipulate the DOS box?

1105






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

1643


How would you add elements and pictures to listitems in listview control?

1541


How to find the current record position in data control?

1452


What is shortcut menu and explain "The ole control's shortcut menu".

563


How can you Add API functions to your Application?

1359


What is the use of parameters collection?

1554


Specify technical & functional architecture of your last 2 projects.

1623


Explain about arrays?

597


Difference between DDE and OLE.

2797


Where can I get good up-to-date information about VB?

916