Home  >>  Archives  >>  Volume 3 Number 2  >>  pr0009

The Stata Journal
Volume 3 Number 2: pp. 185-202

Subscribe to the Stata Journal

Speaking Stata: Problems with lists

Nicholas J. Cox
University of Durham, UK
[email protected]
Abstract.   Various problems in working through lists are discussed in view of changes in Stata 8. for is now undocumented, which provokes a detailed examination of ways of processing lists in parallel with foreach, forvalues, and other devices, including new, concise ways of incrementing and decrementing macros and evaluating other expressions to do with macros in place. New features for manipulating lists held in macros and the new levels command are also reviewed.
Terms of use     View this article (PDF)

View all articles by this author: Nicholas J. Cox

View all articles with these keywords: lists, for, foreach, forvalues, levels, macros, tokenize

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS