Re: macro processing examples for PSPP

2021-05-09 Thread Ben Pfaff
I think I found some examples of MPRINT at https://www.spsstools.net/en/macros/learning-macros/. I think that the lines starting with M> must be expanded macros. On Tue, May 4, 2021 at 11:36 AM Ben Pfaff wrote: > > Usually, it's pretty clear what macro examples do and what they expand to. > I'm l

Re: macro processing examples for PSPP

2021-05-09 Thread Frans Houweling
My bad - sorry. On 5/9/21 5:26 PM, Matthias Faeth wrote: The documentation says "|MPRINT| is effective only when |MEXPAND| is |ON| and is independent of the |PRINTBACK| subcommand." https://www.ibm.com/docs/en/spss-statistics/SaaS?topic=set-mexpand-mprint-subcommands-command

Re: macro processing examples for PSPP

2021-05-09 Thread Matthias Faeth
The documentation says "MPRINT is effective only when MEXPAND is ON and is independent of the PRINTBACK subcommand." https://www.ibm.com/docs/en/spss-statistics/SaaS?topic=set-mexpand-mprint-subcommands-command + no it does not print it even if "set printback=on." is included. Am So., 9. Mai 202

Re: macro processing examples for PSPP

2021-05-09 Thread Frans Houweling
It should print the expanded macro. Do you have SET PRINTBACK = ON. ? On 5/9/21 3:25 PM, Matthias Faeth wrote: It seems that MPRINT does not do anything in the output. Whether it is set to on or off there is no reprinting of macros. At least with the type of macros I use. Am Di., 4. Mai 2021

Re: macro processing examples for PSPP

2021-05-09 Thread Matthias Faeth
It seems that MPRINT does not do anything in the output. Whether it is set to on or off there is no reprinting of macros. At least with the type of macros I use. Am Di., 4. Mai 2021 um 20:38 Uhr schrieb Ben Pfaff : > (I have 7700 examples of SPSS output and none of them contains the > string MPR