What is the difference between procedure and functions in VB?

Answer Posted / julie

procedure is a block of statements which performs a
particular task.In vb, procedures can be classified into
subroutines and functions.
Both subroutines and functions are block of statements.
The main difference between functions and subroutines is
that functions will execute some statments and return a
value. But subroutines will never return a value.
Both functions and subroutines can accept parameters.

Is This Answer Correct ?    23 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1644


What is script control?

568


Explain OLE Drag and Drop.

1502


____ property of menu cannot be set at run time.

1163


Difference between ActiveX Exe and Dll.

1468






Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.

1735


How do I implement an accelerator key for a text box?

1062


what are the Parts of ODBC?

1412


Can you create a updatecascade, Deletecascade relation in Ms- Access? If no, give on eample.

1072


What language does visual basic use?

508


What is recordset in visual basic?

566


Which method is used to write context Into file?

1569


What are the different procedures associated with the object?

598


what is the Difference between Linked Object and Embedded Object?

1773


Explain about creating VB applications in excel?

665