dizietemblesssma Posted April 15, 2020 Share Posted April 15, 2020 I Just want to check:I had expected that a funtion running in an event would have access (is that the right phrase?) to variables defined in the event, but that seems not to be the case, shared variables need to be either declared outside the event or passed as arguments to the funciton. Is this correct? diziet Link to comment Share on other sites More sharing options...
IsharaMeradin Posted April 15, 2020 Share Posted April 15, 2020 You are correct. Either declare in the empty state or pass the variable into the function as one of the parameters. Link to comment Share on other sites More sharing options...
dizietemblesssma Posted April 17, 2020 Author Share Posted April 17, 2020 You are correct. At last! Finally! But seriously, thankyou. :smile: Link to comment Share on other sites More sharing options...
Recommended Posts