Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Sequence of numbers

From   Phil Schumm <>
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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index