Hi Vlad,
Use Python if you can.
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.
HTH
Jan
-----Original Message-----
From: SPSSX(r) Discussion [mailto:
[hidden email]] On Behalf Of
vlad simion
Sent: Friday, September 08, 2006 3:57 PM
To:
[hidden email]
Subject: Count number of variables in list
Hi,
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?
Many thanks!
Vlad.
--
Vlad Simion
Data Analyst
Tel: +40 720130611