Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: "set more off" within .ado
From
Eric Booth <[email protected]>
To
"<[email protected]>" <[email protected]>
Subject
Re: st: "set more off" within .ado
Date
Wed, 27 Jul 2011 23:53:11 +0000
<>
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/