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
<[email protected]> 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: [email protected]
> http://myprofile.cos.com/mccaul
> _______________________________________________
> The fact that no one understands you doesn't make you an artist.
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Gabi Huiber
> Sent: Sunday, 28 September 2008 1:02 AM
> To: [email protected]
> 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/