Subroutine - Visual Basic 6 Examples

Visual Basic 6 Examples

In the Visual Basic 6 language, subprograms are termed functions or subs (or methods when associated with a class). Visual Basic 6 uses various terms called types to define what is being passed as a parameter. By default, an unspecified variable is registered as a variant type and can be passed as ByRef (default) or ByVal. Also, when a function or sub is declared, it is given a public, private, or friend designation, which determines whether it can be accessed outside the module and/or project that it was declared in.

Read more about this topic:  Subroutine

Famous quotes containing the words visual, basic and/or examples:

    I may be able to spot arrowheads on the desert but a refrigerator is a jungle in which I am easily lost. My wife, however, will unerringly point out that the cheese or the leftover roast is hiding right in front of my eyes. Hundreds of such experiences convince me that men and women often inhabit quite different visual worlds. These are differences which cannot be attributed to variations in visual acuity. Man and women simply have learned to use their eyes in very different ways.
    Edward T. Hall (b. 1914)

    The basic essential of a great actor is that he loves himself in acting.
    Charlie Chaplin (1889–1977)

    Histories are more full of examples of the fidelity of dogs than of friends.
    Alexander Pope (1688–1744)