If you cannot, use an old trick I know from Raynald Levesque: in a !DO
loop, add one character for a variable to a string, and then measure
!LENGTH of the string after the loop ends. Very awkward, but does work.
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Sent: Friday, September 08, 2006 3:57 PM
To: [hidden email] Subject: Count number of variables in list
I have a list of variables as a macro argument. I want to count the
number of variables in list and then pass it on as a macro argument.
Does anyone have any suggestions?