Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Program stop half way when using nostop


From   "Maoyong Fan" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: RE: Program stop half way when using nostop
Date   Fri, 18 Jun 2004 10:58:24 -0700

The following is the error message before it stops:

varlist:  m11_q02:  string variable not allowed
r(109); t=23.39 10:56:34


But the program is supposed to continue when coming across such kind of error.
	

Warm regards,

Maoyong Fan 				


>Any error message???
>They should say you something....
>
>-----Original Message-----
>From: [email protected]
>[mailto:[email protected]] On Behalf Of Maoyong Fan
>Sent: 18 June 2004 18:34
>To: statalist
>Subject: st: Program stop half way when using nostop
>
>
>Dear Friends,
>
>	With the great help of statalist friends, I learned a lot about
>doing graphs in stata.  However, a wired thing happened to me last
>night: the program stopped half way even when I use nostop option.  I
>wonder why this happen.
>
>my program:
>
>clear
>
>set memory 200m
>set maxvar 2048
>set more off
>set rmsg on
>
>cd c:/world_bank/6_17-2004_Stata_statistics
>
>***log using "6_17_2004_Al_basic_stat_graph_appendix.log",replace
>set logtype text
>set linesize 255
>
>local file_name = "price_list_cl1.dta subjpov_cl.dta transfer_a.dta
>transfer_b.dta transfer_c_cl.dta weights.dta"
>
>foreach var of local file_name{
>
>use c:/world_bank/data_stata/`var', clear
>
>foreach v of varlist _all {
>
>tab `v'
>
>histogram `v', title("Histogram of `v'")
>saving("`var'_Histogram_`v'",replace) addlabels normal percent quantile
>`v', title("Quantile of `v'") saving("`var'_Quantile_`v'",replace)
>rlopts(clp(dash)) 
>
>}
>
>}
>
>***log close
>
>I put the data on http://are.berkeley.edu/~fan/imbens/
>
>
>	
>
>Warm regards,
>
>Maoyong Fan 				
>
>
>*
>*   For searches and help try:
>*   http://www.stata.com/support/faqs/res/findit.html
>*   http://www.stata.com/support/statalist/faq
>*   http://www.ats.ucla.edu/stat/stata/
>
>*
>*   For searches and help try:
>*   http://www.stata.com/support/faqs/res/findit.html
>*   http://www.stata.com/support/statalist/faq
>*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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