Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Sequence of numbers
From
Phil Schumm <[email protected]>
To
[email protected]
Subject
Re: st: Sequence of numbers
Date
Sun, 7 Mar 2010 10:16:52 -0600
On Mar 7, 2010, at 9:54 AM, Tomas Lind wrote:
Am I not allowed to use the scalar number together with -set obs-
No -- you can't use a scalar in this context. You either need to use
macro expansion to evaluate the scalar, i.e.,
set obs `=number'
or use a macro for this purpose (see -help macro-).
-- Phil
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/