Dear Nick,
about the -cn- program:
program cn
* no version number
capture noisily `0'
end
But that will work only as a prefix to single-line commands.
Nick
I'm not sure what you mean by "single-line commands," As far as I
can tell, it's working well with what looks to me like a two-line command
(copy-pasted from an example I just ran):
cn arch `var' if inrange(date,mdy(1,1,2007),mdy(12,27,2012)) ///
, arch(1) garch(1)
It also appears to be working on commands written over several lines but
with a semi-colon delimit (this one had over 15 lines but I cut some out).
#delimit ;
cn line `var'_ht_garch11 date
,
ylabel(, angle(0) grid)
xlabel(,format(%tdCY)labsize(small))
; #delimit cr
And thanks again.
--
Patrick Toche.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/