I am interested if there is anything that deals with Callsub and wait for the sub is ended. Is there any examples of this?
I need to call a sub in Main from Service. If Main is paused it will still call it and trigger the sub and wait for the sub to end.
I need to call a sub in Main from Service. If Main is paused it will still call it and trigger the sub and wait for the sub to end.
B4X:
CallSub(Main, "Testing")
'Need to wait here until the Testing Sub is Ended