What is the difference between procedure and functions in VB?
Answer Posted / shivangi pandya(cojit -->sy
*....Procedure is a set of code,it simply performs the job
(work) which is assigned to it....Function accepts the
parameters & does the calculations.
*....Fuction return the value,....but procedure doesn't
return the value
*....while defin the procedure 'sub' keyword is
used...While defining the function,'function' keyword is
used.
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
How do I set the Windows wallpaper at runtime?
How can I change the printer Windows uses in code without using the print common dialog? How can I change orientation?
How can I create a VBX?
Whether HTML supports multimedia: and document links?
Is visual basic case sensitive?
what are the types of cursors in DAO?
How do I create a new form in visual basic?
How do I get my application on top?
Which type of object requires this object?
Why visual basic is used?
What is the current version of Visual Basic for Windows?
What is instantiating?
Explain the "cursortype" and "Locktype" in VB?
How would you map properties to controls by using ActiveX Control Interface Wizard?
which property used to add a menus at runtime?