Solved

Query for Methods & Procedures in the VB

Posted on 2004-04-15
2
174 Views
Last Modified: 2010-05-02
Hi, Amit Verma this side,
can anybody tell me the Basic difference between Methods, Procedures , Functions and Subroutience
its very imp.
becoz im very much confused about for the same


Thanx

Amit Verma
0
Comment
Question by:amitverma12679
2 Comments
 
LVL 18

Accepted Solution

by:
Sethi earned 50 total points
ID: 10839857
Sub Routines and Procedures are different names for same thing.
Functions are those Sub Routines or procdures that return some value
Methods is a name given to a Sub Ruotine or Function. So method can either be a sub routine or a function.
0
 
LVL 17

Expert Comment

by:zzzzzooc
ID: 10841172
Methods are subroutines or functions that are linked to objects. For example, Move() would be a method of a control (visible controls atleast).

Procedures are considered either a subroutine or function. Basically just a general term.

Functions return values. (as said)

Subroutines don't. (as said)


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question