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

Types of LockEdits in DAO?

1684


1s it posible to Create Tables Through Querydef?

1718


Is it possible to call oracle database through ADO control or Object?

1380


What is understand in resource tracking?

681


What is "Reserved Error -1209"?

1341






What is DBSqlPassThrough?

2651


advantage and disadvantage in visual-basic and ms-access please tell me or send my mail-id

2670


how a multiple routing works ?

2306


Write the Steps in Creating an ActiveX Control?

1975


What is the need of tabindex property is label control.

1437


Explain about the creation of EXE files with Visual Basic?

606


what are the different Types of Recordsets.

1545


How to down load image properties.

616


What are the rules which should be followed while naming a variable in VB?

556


State about the different types of visual basic data?

557