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 2021 um 16:17 Uhr schrieb Frans Houweling <
fhouwel...@email.it>:

> 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 um 20:38 Uhr schrieb Ben Pfaff <b...@cs.stanford.edu>:
>
>> (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 <b...@cs.stanford.edu> 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 in output; I haven't seen any examples.
>> >
>> > On Tue, May 4, 2021 at 1:04 AM John Darrington
>> > <j...@darrington.wattle.id.au> wrote:
>> > >
>> > > 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 (Custom Tables).
>> > >      I received a few examples from one person. I noticed that all of
>> his
>> > >      examples used the SPSS macro processor (the DEFINE command),
>> > >      so I decided to implement that as a prerequisite for CTABLES.
>> Over
>> > >      the last few weeks, I've been doing that, and last night I got a
>> > >      prototype implementation of it working. There is still a lot of
>> work to
>> > >      do, and the SPSS documentation is ambiguous in many ways, so
>> > >      I'd appreciate it if anyone who uses DEFINE sends me examples.
>> > >      Examples that use the various functions (especially !EVAL, which
>> > >      is a mystery) or !IF or !LOOP are especially welcome. I haven't
>> > >      been able to find any examples of !EVAL and the description is
>> > >      unclear.
>> > >
>> > >      Thanks,
>> > >
>> > >      Ben.
>>
>>

Reply via email to