Statalist


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

Re: st: undocumented command *


From   "Gabi Huiber" <ghuiber@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: undocumented command *
Date   Sat, 27 Sep 2008 21:11:38 -0400

You're right. The first version looked like it worked, but the absence
of ";" treated the subsequent "#delimit cr" as if it were still part
of the comment, so the delimiter did not revert to cr. This is also
the (correct) behavior that Eva reported -- anything after a * at the
beginning of a line and the first line delimiter is commented out.

Gabi

On Sat, Sep 27, 2008 at 7:02 PM, Kieran McCaul
<kamccaul@meddent.uwa.edu.au> wrote:
> * but this does
> #delimit;
> **********
> *  box   *
> **********
> #delimit cr
>
> This doesn't work for me, but the following does:
>
> * but this does
> #delimit;
> **********
> *  box   *
> **********;
> #delimit cr
>
>
> ______________________________________________
> Kieran McCaul MPH PhD
> WA Centre for Health & Ageing (M573)
> University of Western Australia
> Level 6, Ainslie House
> 48 Murray St
> Perth 6000
> Phone: (08) 9224-2140
> Fax: (08) 9224 8009
> email: kamccaul@meddent.uwa.edu.au
> http://myprofile.cos.com/mccaul
> _______________________________________________
> The fact that no one understands you doesn't make you an artist.
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Gabi Huiber
> Sent: Sunday, 28 September 2008 1:02 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: undocumented command *
>
> Sergiy brought up the strangest thing. I never knew that // was
> unreliable with ; as a delimiter. But try and run this:
>
> * this works
> #delimit ;
> // comment
> #delimit cr
>
> * this does not
> #delimit ;
> //
> // comment
> //
> #delimit cr
>
> * neither does this
> #delimit ;
> // ;
> // comment;
> // ;
> #delimit cr
>
> * but this does
> #delimit;
> **********
> *  box   *
> **********
> #delimit cr
>
> So I guess there is one instance where * would be preferred to // as a
> comment delimiter. Well, nevermind.
>
> Gabi
> *
> *   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/
>
*
*   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