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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Why won't infix read last line of file?


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Why won't infix read last line of file?
Date   Thu, 13 May 2010 22:50:34 -0500

On Thu, May 13, 2010 at 10:30 PM, Art Burke
<Art.Burke@educationnorthwest.org> wrote:
> I am a new user of Stata.  Can someone explain why infix would not read the last line of a file in fixed-column format?  The file is 3159 lines and infix is reading 3158, even when I use "in 1/3159".

May be there is no last end of the line (CR) character? Put an empty
line in the end of the raw file and see if that works.

-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

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