Posted by
Guido Schiffhorst on
URL: http://spssx-discussion.165.s1.nabble.com/do-doend-question-tp5740533p5740558.html
Nope, I'll stay with that DO IF ... WRITE garbage since Kirill found a nice solution and I understand what I'm doing. Got it years ago from Raynalds page and it worked many times. But I will try DoSomething and DoSomethingElse (thank you for the link!) one day.
-----Ursprüngliche Nachricht-----
Von: SPSSX(r) Discussion [mailto:
[hidden email]] Im Auftrag von David Marso
Gesendet: Freitag, 21. Mai 2021 14:03
An:
[hidden email]
Betreff: Re: Aw: Re: !do-!doend question
Perhaps the error messages are relavant to diagnosis. Post them. Also use SET MPRINT ON before running the macro and post those results along with current code. Hopefully you have ditched that DO IF .. WRITE garbage. Utterly unnecessay. Don't require !EVAL either. Also state your purpose in this macro. May also want to look at !IN operator for looping in a macro. There are examples of macros calling other macros all over this list. Mostly posted by yours truly over the years.
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD