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

st: Re: Input problem with comma


From   "Bjorn Van Campenhout" <bjorn.vancampenhout@ua.ac.be>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Input problem with comma
Date   Tue, 31 Aug 2004 17:06:32 +0200

> Hi,
> 
> my problem is the following:
> 
> to read in the data out of an ASCII-Raw-Dataset, there existst an part 
> that looks like the following and this is a weight-variable:
> 1,23456
> 1,07899
> 
> This means the comma has the same meaning as normally the point.
> Now the question: How can you use the <infile> command to read in with 
> the commas and which format-infos are needed.
> Thanks!

type
-set dp comma-
before infileing.  For help see help format.
Bjorn
> 
> Tobias
> 
> (Windows 2000/ Stata 8.0)
> 
> 
> *
> *   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/


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