Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Phil Schumm <pschumm@uchicago.edu> |
To | statalist@hsphsun2.harvard.edu |
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/