What is the difference between procedure and functions in VB?
Answer Posted / supriya shringi
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.
Funcion returns the value and proocedeur does not
return
the value
1.Procedure accept input output parameter But
function
accept only input parameter.
2. Function return the value but procuder not
return the
value.
3.Some Condition procedure return the value like
text,
ntext,timestemp data type value but function not
return
text,ntext,timestemp value
Procedure is a bundle of code it does not have
return type
Function Have return type and take only input
Parameater
procedure is block of statement that doesnot return
value,function is accept parameters and return
output
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How do I do drag & drop between applications?
When/Why should I use Option Explicit?
Which type of object requires this object?
___ property is used to change to ___ value to access a identity column'in datacontrols.
How do I create a new form in visual basic?
How to find size of the file. Which method or function is used to occomplish this?
What type of databases you can access through ADO Data Access Object?
What is instantiating?
How can you filter out specific type of file using file system controls?
What is the use of parameters collection?
___,__,___ are the type of combo box?
How would you create your application in DHTML?
How do I make my applications screen-resolution independent?
How can you get selected file from file system Control?
How do I call help files from a VB program?