Hi,
Is there a way to stop executing a macro and in the same time remain in the
interactive session. For example:[code]
// macro.C:
Int_t
foo (Int_t l)
{
if (!l) // Stop executing macro and return to prompt
…
}
I do no understand what you are exactly asking. A macro is interrupted and returns to the interactive prompt has soon as it returns (either via return or via an exception). as any C++ functions.