Statalist The Stata Listserver


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

st: import long variable


From   Juan Ram�n Garc�a L�pez <[email protected]>
To   <[email protected]>
Subject   st: import long variable
Date   Mon, 22 May 2006 13:37:38 +0200

Dear all,

I have a database in '.txt' format. My database has a 18-characters variable (idvar). When I try to pass it to '.dta' format, I write the
following dictionary:

-------------------------------
dictionary {
_column(1) double idvar %18f
....
}
-------------------------------

My problem is that Stata approximates the last numbers of 'idvar'. I already know that the problem could be solved importing the variable like "string". Do you know another way to solve this problem?

Thank you very much.
*
* 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