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

Re: macro processing examples for PSPP

2021-05-04 Thread Ben Pfaff
(I have 7700 examples of SPSS output and none of them contains the string MPRINT.) 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 looking for an MPRINT example because I want to know how macro > expansion looks

Re: macro processing examples for PSPP

2021-05-04 Thread Ben Pfaff
Usually, it's pretty clear what macro examples do and what they expand to. I'm looking for an MPRINT example because I want to know how macro expansion looks in output; I haven't seen any examples. On Tue, May 4, 2021 at 1:04 AM John Darrington wrote: > > There are a lot of examples at https://ww

Re: macro processing examples for PSPP

2021-05-04 Thread John Darrington
There are a lot of examples at https://www.spsstools.net/en/macros/ Unfortunately however very few of them come with the expected output, which somewhat limits the site's usefullness. J' On Mon, May 03, 2021 at 09:24:55AM -0700, Ben Pfaff wrote: Some time ago I asked for examples of CTABLES