Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: RE: Syntax syntax


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: RE: Syntax syntax
Date   Tue, 18 May 2004 22:33:08 +0100

Good point. Thanks. 

Nick 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Michael
> Blasnik
> Sent: 18 May 2004 21:00
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Re: RE: Syntax syntax
> 
> 
> If you want to see what was typed for the option, you also need double
> quotes, not just the single quotes for macro expansion:
> 
> display "`preffect'"
> 
> Michael Blasnik
> michael.blasnik@verizon.net
> 
> 
> ----- Original Message ----- 
> From: "DOMINIC MUSTON" <DOMINIC.MUSTON@lshtm.ac.uk>
> To: <statalist@hsphsun2.harvard.edu>
> Sent: Tuesday, May 18, 2004 3:00 PM
> Subject: st: RE: Syntax syntax
> 
> 
> > Thanks for that Nick. (And so quick too!) I'm afraid I made a rather
> > crucial typo in my email. The command that follows "syntax ..." is
> > actually:
> >
> > display `preffect'
> >
> > ie: with the quotes.
> >
> > Any suggestions?
> >
> > Dominic
> >
> > From   "Nick Cox" <n.j.cox@durham.ac.uk>
> > To   <statalist@hsphsun2.harvard.edu>
> > Subject   st: RE: Syntax syntax
> > Date   Tue, 18 May 2004 19:40:09 +0100
> >
> > 
> --------------------------------------------------------------
> ------------
> ------
> >
> > After this syntax, what is specified
> > in -preffect()- will be visible as `preffect'.
> > This will be a string (emphatically not
> > a string variable). The ` ' are essential.
> >
> > di preffect
> >
> > by itself will be interpreted as
> > a reference to a variable -preffect-,
> > in fact to -preffect[1]-, which evidently
> > you don't have.
> >
> > If you don't have anything compulsory before
> > the options the syntax should be
> >
> > syntax [, PREffect(string)]
> >
> > Nick
> > n.j.cox@durham.ac.uk
> >
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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