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
what are the types of cursors in DAO?
What are 3 main differences between flexgrid control and dbgrid control?
__ no of controls in form.
what are the Types of LockEdits in RDO?
What is ado in vb.net?
How would you find out the value property in Slider Bar Control?
How would you create properties in ActiveX Control?
How would you create Visual basic Document file?
Types of LockEdits in DAO? 51 .Types of Recordsets.
What can you do with visual basic?
How do I tell when an application executed using the SHELL command is finished?
Explain about manipulating the recordset object
_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.
To.set the command button for ESC ___ Property has to be changed.
How to customize workgroup message?