From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: Problems with program |
Date | Thu, 18 Aug 2005 12:32:15 -0500 |
At 05:17 PM 8/18/2005 +0100, n j cox wrote:
If I understand this correctly, this has nothing to do with -outreg-, -estout- or any other program downstream. The problems are within your own code.Good catch. Several things happen in the main program, where `var' is defined, before -regse- ever gets called. And, -regse- doesn't refer to `var' until it gets to the -outreg- command.
You refer to `var' within your program -regse- without ever defining it previously in the same program. This is not illegal but Stata will interpret the reference to a non-existent macro as an empty string and the result will presumably not be what you want.
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |