On Tue, Nov 4, 2008 at 2:47 PM, Nick Cox <[email protected]> wrote:
> Not quite. On the contrary, if a do file contains the statement
>
> version 10
>
> then it won't run in any earlier version. That is not the issue in this
> thread, I suspect, and there is of course no requirement for a do file
> to contain a -version- statement, but otherwise Sergiy's statement is
> misleading. There is such a thing as a do file that only Stata 10 will
> run.
that's fine. but this is not what I mean. the file format is the same
- a text file.
Whether it can be run in a particular Stata or not, is a different issue.
otherwise we will have to say that there are "5G do files" because they have
a statement "set mem 5g" which 32-bit Stata's can't execute?
Stata will not crash after -version 12-. It will merely issue an error
code. So this is not the case here.
2Michael: how big is the file? can you open it in a Notepad? If so,
open and save again.
This may eliminate control characters, which I now suspect to be the reason.
S.R.
>
> Nick
> [email protected]
>
> Sergiy Radyakin
>
> <Good advice, except for>
>
> do files are text files, there is no such thing as "v10 do-file".
>
>
> *
> * 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/
>
*
* 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/