If I used the call label construction the name of the running 'routine' is in the variable %0.
Is there a same mechanism if we using gosub subroutines?
I could not find an internal variable for this purpose , but maybe I missed it.
A workaround I use now is an alias for gosub and parsing the name of the gosub routine as the first parameter.
An internal variable with the gosub routine name seems a nicer/cleaner solution.
Is there a same mechanism if we using gosub subroutines?
I could not find an internal variable for this purpose , but maybe I missed it.
A workaround I use now is an alias for gosub and parsing the name of the gosub routine as the first parameter.
An internal variable with the gosub routine name seems a nicer/cleaner solution.