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: AW: st: replace-all can crash do-file


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   RE: AW: st: replace-all can crash do-file
Date   Sun, 16 May 2010 00:48:45 +0200

<>
Yes, in this case I get an endless loop as well. I would still insist it is not a crash, as Stata looks busy to me instead of shutting down without prior warning. Am I correct that [GSW] does not describe the tickboxes in the "replace" dialog box, but merely mentions its existence? Is there another entry for it anywhere else? I could not find one...

HTH
Martin

-original message-
Subject: RE: AW: st: replace-all can crash do-file
From: "Kieran McCaul" <Kieran.McCaul@uwa.edu.au>
Date: 16-05-2010 00:25

...

The only way I can get Stata to crash with Martin's example, is if I check the "Regular expression" box in the Replace window and leave the others unchecked.  If I do that, then Stata will hang and clicking in the Replace window gives me the "not responding" message and the option of closing down Stata. 

Now, given that I don't have a regular expression in either the Find or Replace text, I wouldn't expect this to do anything, but I wouldn't expect it to cause Stata to crash either.




-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
Sent: Saturday, 15 May 2010 8:59 PM
To: statalist@hsphsun2.harvard.edu
Subject: AW: AW: st: replace-all can crash do-file


<> 

" My guess is that this is a Stata for Windows-specific problem."


Not so sure: I tried the example in
http://www.stata.com/statalist/archive/2010-05/msg00801.html on a windows
machine, and nothing untoward happened to me there. So more information from
those who have suffered from this problem is required, including (but not
limited to) the output of the -update- command.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Kit Baum
Gesendet: Samstag, 15. Mai 2010 14:50
An: statalist@hsphsun2.harvard.edu
Betreff: re: AW: st: replace-all can crash do-file

<>
My guess is that this is a Stata for Windows-specific problem. The do-file
editor in Windows has a number of bells and whistles not present in other
versions of Stata. The "find" dialog in Mac OS X do-file editor has a
'replace all' button, but it behaves as expected in a do-file containing
multiple instances of, e.g., hh.

Kit

Kit Baum   |   Boston College Economics & DIW Berlin   |
http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |
http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |
http://www.stata-press.com/books/imeus.html


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index