label was built-in in Stata 9 and is implemented in .ado in Stata 10.
both label.ado and clear.ado are in updates directory, which means
they have changed since Stata 10 release.
1. create a .do file with a single command clear
run it
if there is an error: set trace on and run it. note the last file and
lines before the error.
clear must always work, if it does not, there is something with your
installation. make sure your update succeeded.
2. type:
which label
which clear
Post the response here
Regards, Sergiy Radyakin
On Thu, Oct 2, 2008 at 4:32 AM, Martin Weiss <[email protected]> wrote:
> Have you tried to run on the 10.1 machine with the -version 10.0- statement
> on top of your do-files? What happens? -clear- is certainly not mentioned in
> the -whatsnew- section, so your problem strikes me as odd...
>
>
> HTH
> Martin
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of David Winter
> Sent: Thursday, October 02, 2008 10:23 AM
> To: [email protected]
> Subject: st: problems with clear command in v 10.1
>
> Dear Colleagues,
>
> Following receipt of the recent newsletter, I have upgraded from version
> 10.0 to 10.1.
>
> I had written some .do files in version 9.x and they all work fine in
> version 10.0. They include the -clear- command.
>
> I have just run some of these .do files and they now do not work. When they
> run the -clear- command the memory is cleared but the following messages
> appear:
>
> unrecognised command: label
> r(199);
>
> This also happens in version 10.1 from the command line, i.e
>
> use <any .dta file>
> clear
>
> (data is cleared from memory)
>
> unrecognised command: label
> r(199);
>
> What is the solution to this problem please? I have tried all of the above
> on a machine running version 10.0 without the update and all works correctly
> with no errors.
>
> B/W,
>
> Dave
>
> ***********************************************************
> Mr David L. Winter, HNC
> IT Manager
> Centre for Childhood Cancer Survivor Studies
> Department of Public Health & Epidemiology
> University of Birmingham
> Edgbaston
> Birmingham
> B15 2TT
> UK
> tel: +44 (0)121 4146766
> fax: +44 (0)121 4147923
> email: [email protected]
> website: www.bccss.bham.ac.uk
> ***********************************************************
>
>
> *
> * 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/