From the documentation, it seems that the function will:
clear the current ram that the currently running program uses and ends the currently running program
start the program to run
after the program to run has finished run the callback function
so how do I pass a callback function?
I'm trying to run a program then run another program then go back to the first program, maybe even pass a variable (or turn on somekind of flag that does not get destroyed) into main to show that it was run by a different program. Idk if its possible.
Clarifications are welcome.
clear the current ram that the currently running program uses and ends the currently running program
start the program to run
after the program to run has finished run the callback function
so how do I pass a callback function?
I'm trying to run a program then run another program then go back to the first program, maybe even pass a variable (or turn on somekind of flag that does not get destroyed) into main to show that it was run by a different program. Idk if its possible.
Clarifications are welcome.