Bookmark and Share

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: using /// with parmby


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: using /// with parmby
Date   Wed, 27 Oct 2010 12:56:08 +0100 (BST)

--- On Wed, 27/10/10, Jamie Fagg wrote:
> The following command works fine.
> 
> parmby "<long command>", by(qinc) ...
<snip>
> However, it's rather long. I'd like to break it over one or
> maybe two lines. I tried this:
> 
> parmby "xi: mlogit walkcat <snip>  i.urbrur ///

The problem is that you tried to break the command inside a 
string. Stata sees parmby, than a " and than it thinks `lets
wait till I see another " as everything between them belongs
together in one string', that way it misses the ///, which
is the cause of your problem.

If I want to break up a command with such a long string I 
usually change the delimiter to ; by specifying the #delim
command:

#delim ;
<my command with long string
split out over multiple lines> ;
#delim cr


Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index