Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Arrays - unidentified number of elements


From   Karina Fortuny <[email protected]>
To   [email protected]
Subject   st: Arrays - unidentified number of elements
Date   Fri, 7 Feb 2003 13:45:31 -0800 (PST)

folder.
I can define an array:

local array "file1 file2 file3 .... fileN"
and loop through the elements.

But I do not want to type all the names (if there are
50 or so; it's possible to make typos, and it's
difficult to audit).

Is it possible to define the array without listing the
elements if the number of elements is known? Is it
possible if the number is not known?

I'm currently using STATA 7, but might be upgrading to
STATA 8.

Thank you!
Karina

=====
"The soul unfolds itself like a lotus of countess petals." - Kahlil Gibran

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index