call function

MikMo:
You just call your function like this:

Delay_function();

When it is finished doing what it should, program flow will be returnd to where you called it from.

i need when make specific action such as press switch exit from Delay_function() and back to the void loop (), what order can i used