Aug-14-2018, 01:44 PM
I am trying to avoid using Global variables to solve the problem i am having of passing 2 variables from one function to another function.
Function 1 is an 'Accept Button' taking some user input information from input fields and producing upon pressing accept Variable_1 and Variable_2
Function 2 is a 'Test Button' taking Variable_1 and Variable_2 and using them as inputs for the test code
How do i get Variable 1 & 2 into my second function without setting them as globals?
Function 1 is an 'Accept Button' taking some user input information from input fields and producing upon pressing accept Variable_1 and Variable_2
Function 2 is a 'Test Button' taking Variable_1 and Variable_2 and using them as inputs for the test code
How do i get Variable 1 & 2 into my second function without setting them as globals?