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
How do you make a TEXTBOX read only? Or, how do I prevent the user from changing the text in a TEXTBOX?
What is executenonquery in vb net?
Through which protocol OLEDB components are interfaced?
____ is the difference between Listindex and Tab index.
DHTML Is used for what?
How can you Implement windows functionality in VB?
What are the Internet tools available in VB 6.0?
Write the steps in Creating ActiveX Dll and Active Exe?
How to find size of the file. Which method or function is used to occomplish this?
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
What type of databases you can access through ADO Data Access Object?
What is the use of progress Bar Control?
Where can I get good up-to-date information about VB?
How do I get the Tab key to be treated like a normal character?
How do I make an animated icon for my program?