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
___ Property is used to count no. of items in a combobox.
Explain OLE Drag and Drop.
Is visual basic case sensitive?
How would you convert a form into document?
How do you change the icon and otherwise manipulate the DOS box?
How would you create properties in ActiveX Control?
Explain about control properties?
What is "NULL"?
What are 3 main differences between flexgrid control and dbgrid control?
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.
Difference between ActiveX Exe and Dll.
How would you attach an ActiveX control in Your Application?
Explain what is Visual basic?
Is it possible to set a shortcut key for label?
Explain about the creation of EXE files with Visual Basic?