Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: matrix of significance stars


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: matrix of significance stars
Date   Sat, 29 Jul 2006 15:10:34 -0400

. local junk 3

. if `junk'==3 local junk "***"

. di "`junk'"
***

. file open junk using junk,write

. file write junk "`junk'" _n

. file close junk

. type junk
***

 You forgot to quote the string you were writing to the external file.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


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