[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macro processing examples for PSPP
From: |
Ben Pfaff |
Subject: |
Re: macro processing examples for PSPP |
Date: |
Sun, 9 May 2021 08:30:46 -0700 |
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 <blp@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
> <john@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.
- macro processing examples for PSPP, Ben Pfaff, 2021/05/03
- MPRINT example(macro processing examples for PSPP), Ben Pfaff, 2021/05/03
- Re: macro processing examples for PSPP, John Darrington, 2021/05/04
- Re: macro processing examples for PSPP, Ben Pfaff, 2021/05/04
- Re: macro processing examples for PSPP, Ben Pfaff, 2021/05/04
- Re: macro processing examples for PSPP, Matthias Faeth, 2021/05/09
- Re: macro processing examples for PSPP, Frans Houweling, 2021/05/09
- Re: macro processing examples for PSPP, Matthias Faeth, 2021/05/09
- Re: macro processing examples for PSPP, Frans Houweling, 2021/05/09
- Re: macro processing examples for PSPP,
Ben Pfaff <=