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
Is a foo VBX/DLL available as shareware/freeware?
____ property of menu cannot be set at run time.
How do I force a file dialogue box to reread the currect disk?
How do I make an animated icon for my program?
Give brief description about class?
what are the Types of LockEdits in RDO?
What are the uses of List View Control?
Types of cursors in DAO?
What is instantiating?
What is script control?
Discuss the working with to-do lists.
What is FireHouse Cursors?
How many File System Controls are there ? Explain.
How would you activate animation control?
___ is the control used to call a windows application.