Statalist


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

RE: st: RE: RE: adding -input- in an ado file


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: RE: adding -input- in an ado file
Date   Tue, 11 Mar 2008 14:22:01 -0000

An optional extra keyword to disambiguate from version 11 on strikes me
as an excellent 
idea, but obviously the decision rests with StataCorp. 

I doubt "oversight" quite fits the case. At one stage -mend- was the way
to get out of Mata. 

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

Austin Nichols

Nick et al.--
I for one would welcome a multi-part command -end- so various commands
might be nested:

end mata
end program
end input

where if the second part was left off but the meaning was unambiguous
no error would be issued (I can't imagine how that would be
inconvenient to many more people than have ever been bitten by the
ambiguity of -end-). It seems an oversight that -end- is used for many
purposes.

On Tue, Mar 11, 2008 at 8:13 AM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
> I doubt the case for change. The problem you experienced appears to be
> rare, is easy to diagnose,
> and is easy to fix.
>
> On the other hand, changing either -end- even under version control
> would be, I guess,
> be inconvenient or worse to many more people than have ever been
bitten
> by your problem.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Zhiqiang Wang
>
> Thank you, Svend and Nick, for your suggestions. They have all worked
> well to get what I want.
>
> It would be ideal if Stata could distinguish the -end- of -input- and
> the -end- of -program-.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index