Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: option generate() not allowed


From   "Eva Poen" <eva.poen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: option generate() not allowed
Date   Thu, 11 Sep 2008 15:51:23 +0100

Fabian,

which version of Stata are you using? In Stata 9 and 10, -tostring- is
an official command. There exists a user-written command -tostring-
which does not allow the generate option (it instead overwrites the
existing variable). Check which one you are using, by typing -which
tostring- in Stata.

Eva


2008/9/11 Fabian Brenner <Fabian.Brenner@gmx.de>:
> Hello everyone,
>
> tostring date, generate(date_as_string)
>
> leads to:
>
> option generate() not allowed
> r(198);
>
> what is wrong? Thanks in advance!
> Fabian Brenner
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> *
> *   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/
>

*
*   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/



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