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
Write the steps in Creating ActiveX Dll and Active Exe?
What are the Internet tools available in VB6.0?
How would you create Visual basic Document file?
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.
Types of LockEdits in RDO.
Explain about an event-driven programming language?
what are the Default cursor Type and LockEdit type in DAO?
What is the need of tabindex property is label control?
Explain Types of DBCombo boxes?
What is a thread pool and how are the threads within a thread pool managed?
What is DDE?
What is difference between datagrid and flexgrid?
What is shortcut menu and explain "The ole control's shortcut menu".
How do I dial a phone number without using the MSCOMM VBX?
Where can I get updated VB and other Microsoft files?