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?
Printable View
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?
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