Statalist


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

Re: st: RE: upgrading to v10: do-file won't load


From   "Sergiy Radyakin" <[email protected]>
To   [email protected]
Subject   Re: st: RE: upgrading to v10: do-file won't load
Date   Tue, 4 Nov 2008 14:57:50 -0500

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index