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 are the Types of DBCombo boxes?
What is ado in vb?
Explain Types of DBCombo boxes?
How do I do Peek and Poke and other low-level stuff?
Explain about the creation of EXE files with Visual Basic?
How would you create your application in DHTML?
___,__,___ are the type of combo box?
What language does visual basic use?
What are the types of Error? In which areas the Error occurs?
What is the use of Hyperlink control for DHTML applications?
What is executenonquery in vb net?
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.
___ VB constant make the menu item in centre.
Which property of textbox cannot be changed at runtime. What is the max size of textbox?
How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?