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.