Results 1 to 2 of 2

Thread: Whats the deal with Quick Basic and Subs/Functions

  1. #1
    wossname
    Guest
    How do you make an array (or any variable for that matter) available to more than one sub/function (IE the equivalent of "Public" in VB6)?


  2. #2
    Megatron
    Guest
    You need to use the Shared keyword.
    Code:
    DIM SHARED MyVar AS INTEGER

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