Results 1 to 2 of 2

Thread: Scope of variables

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    17
    I have a program that creates an array of filenames, and I'm wishing to make this array available to another form which I load up from the first form. (i.e. I think I'm trying to make the array global, how?)

    I've tried defining this array in the general delecarations section of the first form.
    Do I have to instead define it in a class module?

    Many thanks.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    You'll need to define it as public in a module
    Mark
    -------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width