Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: AW: st: replace-all can crash do-file


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: AW: st: replace-all can crash do-file
Date   Sun, 16 May 2010 10:45:36 +0200

<>

" I had a look in the Stata manuals but I couldn't find anything describing the tickboxes either."


It is strange that the manual is so terse at this one point. Everywhere else, it seems to explain even the most basic stuff, but in this case ([GSW], p. 106) it simply presupposes knowledge on the part of the user. Truth be told, I have been working with Ultraedit for a long time, and still I am unable to tell what the "regular expression" checkbox really does.

HTH
Martin


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Kieran McCaul
Sent: Sonntag, 16. Mai 2010 01:46
To: [email protected]
Subject: RE: AW: st: replace-all can crash do-file

...

I had a look in the Stata manuals but I couldn't find anything describing the tickboxes either.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Sunday, 16 May 2010 6:49 AM
To: [email protected]
Subject: RE: AW: st: replace-all can crash do-file

<>
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" <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Saturday, 15 May 2010 8:59 PM
To: [email protected]
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: [email protected]
[mailto:[email protected]] Im Auftrag von Kit Baum
Gesendet: Samstag, 15. Mai 2010 14:50
An: [email protected]
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/

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