Is there a way to call another function (e.g function2) from a function (e.g function1), but have the rest of the code in (function1) wait to be executed until the (function2) is finished being executed.

Thanks in advance,

Chris1990