[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
program drop _all
program define repeat_codes
<insert codes that you're repeating all over the do file>
After you have done this whenever you need to refer to those codes,
you'll just need to write:
Hope this helps.
On 3/18/06, Carter Rees <firstname.lastname@example.org> wrote:
> Working with Stata 9.1, Windows XP.
> When I attempt to cut and paste text from within the do-file editor to
> different areas of the same do-file or from another word processing program
> to the do-file editor I get the following error message:
> "You will exceed the maximum number of characters the Do-file Editor can
> hold (131071 bytes) if text is pasted".
> So, this leaves me with the option of re-typing a lot of redundant code. A
> search of the archives and FAQ has not produced an answer. I have checked
> to make sure that I am not unknowingly pasting a large amount of text left
> on my clipboard.
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
Health Economics Research Unit
University of Aberdeen, UK.
Tel: +44 (0) 1224 553863
Fax: +44 (0) 1224 550926
* For searches and help try: