Results 1 to 2 of 2

Thread: Saving certain variables to be used throughout a project

  1. #1
    Zerogt
    Guest

    Saving certain variables to be used throughout a project

    For example if i was going to use a strength as a variable, but was only defined in one form, how would it be global throughout a project?

  2. #2
    jim mcnamara
    Guest
    Don't declare it on a form - add a .BAS module - there you can create public variables, which all forms and routines can access.

    Code:
    public strength as double

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