Statalist


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

RE: st: Alternative uses of -nl


From   "Nick Cox" <[email protected]>
To   <[email protected]>
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 
[email protected] 

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