What is the difference between procedure and functions in VB?
Answer Posted / ramani ghanshyam p
What is deffrent between Procedure and Fuction ?
ans.1 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 ? | 41 Yes | 14 No |
Post New Answer View All Answers
What is shortcut menu and explain "The ole control's shortcut menu".
What language does visual basic use?
What is the-use of property page Wizard in ActiveX Control?
How do you create a form in visual basic?
What is meant by Establish Connection in RDO?
___ property used to add a menus at runtime.
What is ODBC Direct and Microsoft Jet Database Engine ?
How would you map properties to controls by using ActiveX Control Interface Wizard?
How do I create a window with a small title bar as in a floating toolbar?
what are the Types of LockEdits in RDO?
What are the types of Error? In which areas the Error occurs?
Is visual basic still used?
What is the use of debug Window?
How do I call help files from a VB program?
How do I implement an accelerator key for a text box?