Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Alternative uses of -nl


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Alternative uses of -nl
Date   Tue, 18 Nov 2008 17:34:49 -0000

Remember: -nl- looks for programs whose names begin with -nl- but the
prefix is stripped in the call to -nl-. Try 

        program define  myprog
        ...
        nl auxeq z
        ...
        end
        program define nlauxeq
        ...
        end

Nick 
n.j.cox@durham.ac.uk 

Paulo Regis

Creating a new
command using ado files, it may be useful to use to structure the ado
file as follows

        program define  myprog
        ...
        nl auxeq z
        ...
        end
        program define nl auxeq
        ...
        end

for many reasons (especially, you minimize the number of ado files and
commands). However, I couldnt make it work.


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



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index