What is the difference between procedure and functions in VB?

Answer Posted / shivangi pandya(cojit -->sy

*....Procedure is a set of code,it simply performs the job
(work) which is assigned to it....Function accepts the
parameters & does the calculations.

*....Fuction return the value,....but procedure doesn't
return the value

*....while defin the procedure 'sub' keyword is
used...While defining the function,'function' keyword is
used.

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you filter out specific type of file using file system controls?

1389


Explain about creating VB applications in excel?

665


what controls have you used in your project?

1473


What is the use of Data Form Wizard?

1494


How to customize workgroup message?

602






Difference between DDE and OLE.

2776


How would you attach pictures in column headers of List View Control?

1656


Is it possible to Manipulate data through flexgrid? Explain.

1556


Types of cursors in RDO.

1517


1s it posible to Create Tables Through Querydef?

1707


Explain about literals?

557


Whether HTML supports multimedia: and document links?

1424


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

1439


What are the uses of List View Control?

1557


What is the use of Hyperlink control for DHTML applications?

1922