Hi Flo,
No way to kill it during the session. Sounds tricky in any case!
What is the purpose of the macro? Perhaps this is a great time to give
python a try. If you explain the macro in full perhaps someone who
knows python on the list (I know some) can figure out a new solution.
Best, Keith
www.keithmccormick.com
On 8/9/07, flo statistik <
[hidden email]> wrote:
> Hi Keith,
>
> no I want to delete the macro within a session.
>
> My Problem was (I fixed it but not verry elegant) the following:
>
> I wrote an macro which defined a new one. In the macro call one can choose
> the name of the new macro.
>
> example.
>
> !mac /newmac = !example /... /...
>
> if !example is not defined at that moment everything is fine. But if its
> defined (for example because one called the macro with another dataset) then
> spss expanded !example and my macro (!mac) didn't work. set mexpand don't
> work if its in the macrodefinition. Now one has to give the new macroname in
> quotes.
>
> !mac /newmac = '!example'
>
> this works but isn't elegant.
>
> flo
>