This may seem a novice question but I cannot seem to get it to work. I would like to have custom methods to pass data between function, or to keep it in memory throughout the program.
Private function info() Addr1 = addr1.text Addr2 = addr2.text City = city.text State = state.text Zip = zip.text end function
Could I run this function towards the beginning of the program and use it throughout until the form is disposed? I can't seem to get the information to stick once I get out of the function, I will need to use the same information multiple times throughout the application so I figured if I could make a function to keep the info rather than declaring the 5 lines in every option but anytime I call the method, it fills it correctly then when I get back to the main function the info goes back to 'nothing'.
I may be having the wrong thinking with this, is it possible to pass data around between functions like you could in Java?