<>
It works for me on Stata 11 & 12 (Mac OSX).
Note that you are not setting more within your program, see the difference between these examples:
********
clear all
set more on, permanently
sysuse auto
cap program drop dbir
program define dbir
version 11
**
codebook
end
dbir
cap program drop dbir
program define dbir
version 11
**
set more off, perm
set rmsg on
codebook
end
dbir
**********
- Eric
On Jul 27, 2011, at 6:43 PM, Tanuku AP wrote:
> Hello all,
>
> Does Stata allow to --set-- options within an .ado file? For me, "set more off" within an .ado doesn't have the desired effect. However, interactively running "set more off" and then running the program turns off more.
>
>
> My ado file starts with:
>
> ------
> clear
> clear matrix
> set mem 100m
> set more off, permanently
>
> capture program drop dbir
>
> program define dbir
> version 11
>
> ...
> ...
> -----
>
>
>
>
> --Tanuku
>
> *
> * 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/