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   Michael McCulloch <[email protected]>
To   [email protected]
Subject   Re: st: RE: upgrading to v10: do-file won't load
Date   Tue, 4 Nov 2008 11:31:27 -0800

Thanks Sergiy. Stata says nothing; the problem, specifically is that when I attempt to open the do-file, v10 Stata (fully updated) crashes (stops running, freezes, won't respond...) There are 3466 lines, so perhaps even approaching the limit of 3500 lines which you cite is the problem?
Michael



So what is the problem then? Cut-and-paste into an open do file (which
you say works), then remove extra parts and save from Stata.
do files are text files, there is no such thing as "v10 do-file".

If your .do-file defines a program - mind the limit of 3500 lines,
135600 characters in a program.
What exactly does not work:
   do file.do
   run file.do
   doedit file.do
   view file.do
??????????

It worked with Stata 9.2. Does it work now with Stata 9.2? What does Stata say?

Sergiy


On Tue, Nov 4, 2008 at 2:16 PM, Michael McCulloch <[email protected]> wrote:
 Thanks Nick, yes it did work with 9.2. The code can also run if I
 cut-and-paste into an open v10 do-file. The problem is that I simply can't
 open the do-file from within v10.

 I take it you mean that the _length_ of the do file is the problem. I
 very much doubt it. Did it work with your previous version? I suggest
 working with increasing subsets of the file, or keeping a trace or log
 if possible.

 Nick
 [email protected].

 Michael McCulloch

 I've just upgraded to v10, and a do-file won't load, causing
 Stata to crash. There are ~3,000 lines of code in the do-file; could
 that be the problem?

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

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