Is it possible to call a procedure whose name is in a variable?
I want to share asynchronous code among multiple processes (for example, BLE communications, clock timer, sqlite selectsâŚ). I would need to call back to the original process (state machine) once an asynchronous event has triggered.
I, for example, I want to execute sqlite selects from different procedures, I would like to have the name of the procedure in a global variable and in the sqlite AfterQuery call the procedure specified in that variable.
I think this would be similar to what the âAsync proceduresâ extension does internally, as the name of the procedure is passed as an argument to the call (âprocedureName argumentâ).
OK, thanks for the response.
What you proposed is what I was doing, I just hoped maybe there was a better option when I saw the âAsync proceduresâ extension âŚ
That extension is not what I need. I just need to be able to call a procedure from itâs name, the same way that extensions seems to do, as you pass a procedure name to the call block.
I guess it can only be done in java or any other programming language used to develop the extensions.