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

st: RE: Re: RE: how to eliminate characters from string variables


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: RE: how to eliminate characters from string variables
Date   Thu, 14 Nov 2002 20:51:11 -0000

Radu Ban
> 
> i have been using ; delimiter because i want to see the 
> entire program
> without having to scroll horizontally, in the case of long 
> lists or long for
> commands. i sort of got used to it.
> 

Indeed. One of several merits of -foreach- 
and -forvalues- is that constructs are naturally 
and readably laid out on several lines. The 
bonus in being able more easily to understand, to debug, 
and to modify code is substantial. 
The need, or desire, to use semi-colons is 
thus reduced. 

Of course, semi-colons can be 
used as delimiters in a very readable way 
too, just as there are many difficult-to-read 
programs written with carriage returns as 
delimiters. 

Nick 
[email protected] 

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