Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: assign several lines of syntax to local?

From   raoul reulen <>
Subject   st: assign several lines of syntax to local?
Date   Thu, 12 Aug 2010 10:33:09 +0100

Hello All

I have a large do-file in which a few lines of syntax come back
several times. It is possible to assign a local to the lines of syntax
so that I don't have to repeat it all the time? I don't want to use a
loop for this. The "include" command does something similar, but I
would have to save the relevant syntax in a separate file which I
don't want. So, essentially I would like to assign several lines of
syntax to a local, is this possible? Are there alternatives? Thanks.


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index