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

st: problems with version control using graph command


From   Spörri-Fahrni Adrian <spoerri@ispm.unibe.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: problems with version control using graph command
Date   Mon, 14 Nov 2005 09:41:33 +0100

Dear all, 
 
I wrote a do-file with Stata9 for someone using 8.2. No problem, I thought, and wrote "version 8.2" in one of the first lines.
Nevertheless, the do-file did not run with Stata8.2.
 
Here's the command, which did not work (boxplot):
 
graph box aktmin, medtype(line) over(agegrp) box(1, fcolor(gs12)) 
 
This does not run, because the option fcolor doesn't exist in Stata8.2, it should be bfcolor.
 
So, when running
 
version 8.2: graph box aktmin, medtype(line) over(agegrp) box(1, fcolor(gs12)) 
 
with Stata9, I should receive a red error line telling me: option fcolor() not allowed! Anyway, Stata9 runs this line without problem.
 
Does anybody have an idea, why the command "version 8.2" does not work in my example?
 
 
Adrian 
spoerri@ispm.unibe.ch

 


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