Global array of integers

Hi friends,
In vb6, I want to make a global array of integers and it should be accessed from many forms. How can I declare and use it. Please help me. Thanks in advance.

Comments

  • : Hi friends,
    : In vb6, I want to make a global array of integers and it should be
    : accessed from many forms. How can I declare and use it. Please help
    : me. Thanks in advance.
    :

    Add a Module to the project an inser the following code:
    [code]
    Global gnIntArray() As Integer
    [/code]

    Best Regards,
    Richard

    The way I see it... Well, it's all pretty blurry
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion