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 the use of ActiveX Documents?
I get a "file not found" error on the IIF function when I distribute by program. Why?
How the image application?
Can any one please suggest which institute is providing Advance Excel & VBA Macros in Excel training in Hyderabad.
How many File System Controls are there ? Explain.
To.set the command button for ESC ___ Property has to be changed.
___,__,___ are the type of combo box?
___,___ and __ are difference between image and picture controls.
Difference between Recordset and Resultsets.
___,_____ and ____ container objects.
Explain the types of Views in Listview Control.
Maximum Control Names length?
What is ActiveX? Explain.
How many ways we can access file using VB?
Can you create a tabletype of recordset in Jet connected ODBC dbengine.