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

Re: st: Re: how to save ado files


From   "Steichen" <steichen@triad.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Re: how to save ado files
Date   Fri, 28 Nov 2003 11:10:09 -0500

Did you change the name on the -program define- line inside the file to
match the filename?  That line and the filename must match.

tom

----- Original Message ----- 
From: "b. water" <barleywater@hotmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Friday, November 28, 2003 10:50 AM
Subject: Re: st: Re: how to save ado files


> Olivier, Friedrich,
>
> Thnak you for your suggestions.
>
> Olivier, I have tried that. It did not work. It still save the file as
> filename.ado.txt. I have saved it in the right place (I think)
c:/ado/under
> the right alphabet. I have to follow Friedrich suggestion below to save it
> as ado file.
>
> Friedrich, you are right. I have chosen the option in the explorer as you
> suggested. I have renamed the extension to ado and now the icon is the
same
> as the other ado. However problem prove harder to overcome. Stata still
gave
> me the unrecognised command error r(199) when it encounters the line of my
> do-file that excutes the hacked ado file.
>
> Any other idea?
>
> Thanks,
> bw
>
>
> >From: Friedrich Huebler <huebler@rocketmail.com>
> >Reply-To: statalist@hsphsun2.harvard.edu
> >To: statalist@hsphsun2.harvard.edu
> >Subject: st: Re: how to save ado files
> >Date: Thu, 27 Nov 2003 11:53:04 -0800 (PST)
> >
> >--- "b. water" <barleywater@hotmail.com> wrote:
> > > when i saved the file in the notepad, i save as filename.ado and
> > > file type
> > > as all file. i noticed though that it is saved as a txt file and
> > > the icon
> > > appears different from the other official ado files.
> >
> >Barley,
> >
> >You said the icon is different from official ado files. This
> >indicates that the file was saved as filename.ado.txt, not
> >filename.ado. In the Windows Explorer, go to Tools - Folder Options -
> >View and uncheck "Hide extension for known file types." That should
> >reveal the .txt part and you can then delete it.
> >
> >Friedrich Huebler
> >
> >__________________________________
> >Do you Yahoo!?
> >Free Pop-Up Blocker - Get it now
> >http://companion.yahoo.com/
> >*
> >*   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/
>
> _________________________________________________________________
> Groove on the latest from the hot new rock groups!  Get downloads, videos,
> and more here.  http://special.msn.com/entertainment/wiredformusic.armx
>
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index