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
1s it posible to Create Tables Through Querydef?
How can you Navigate from the DHTML application to another DHTML application? .
____ property is used to lock a textbox to enter a datas.
___ property is used to change to ___ value to access a identity column'in datacontrols.
How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?
Explain about control properties?
Types of ActiveX Components in VB?
What is ActiveX Control?
what is the Property used to add a menus at runtime?
What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.
What is snapshot in vb?
How would you run your ActiveX Document Dll?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
It is possible to access Text (x.txt) files? Explain.
How to control the file?