Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Question about scalars


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Question about scalars
Date   Tue, 10 Aug 2010 20:24:36 +0100

Well, that's a question of personal style. Often the natural names for
scalars are very short, because that's the notation used in the
literature for the constants in question. I really don't want to choose
long names in that situation. 

But if I'm using scalars in a program, I use tempnames in Stata and
whatever names I like in Mata, so the shared namespace never bites me. 

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

Sergiy Radyakin

Switching to longer (and more readable) names for all your variables
and scalars (macros) will help you avoid
this problem and make the program easier to read and understand.


*
*   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   |   Site index