You know, I remember the old days, there was something called a Stack. all subroutine data was pushed onto it. So when things got diverted you could pop the stack and get the values needed to complete a subroutine from where it left off. You would think Wait For would push additional data on the Stack so when it resumed it can pick up exactly, state and all...
Sorry, thats the Low Level/Embedded side of me talking. I used to do that all the time, this higher level stuff is a bit over my head at times. But I digress...
I need to be able to return a value from here. However, I am drawing blanks as how to do it. I dont want global variables everywhere, thats just messy.