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

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

From   "Nick Cox" <>
To   <>
Subject   RE: st: RE: upgrading to v10: do-file won't load
Date   Tue, 4 Nov 2008 19:39:12 -0000

Does it define a program? i.e. are there lines embedded within that go 

program <whatever> 




program define <whatever>





Michael McCulloch

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?

>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
>    run
>    doedit
>    view
>It worked with Stata 9.2. Does it work now with Stata 9.2? What does 
>Stata say?
>On Tue, Nov 4, 2008 at 2:16 PM, Michael McCulloch <>
>>  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
>>  open the do-file from within v10.
>>>  I take it you mean that the _length_ of the do file is the problem.
>>>  very much doubt it. Did it work with your previous version? I
>>>  working with increasing subsets of the file, or keeping a trace or
>>>  if possible.
>>>  Nick
>>>  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;
>>>  that be the problem?

*   For searches and help try:

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