The 2 references with contexts in paper Christopher F. Baum (2005) “A little bit of Stata programming goes a long way...” / RePEc:boc:bocoec:612

1
Cox, N. J. 2001. Speaking Stata: How to repeat yourself without going mad.
Total in-text references: 1
  1. In-text reference with the coordinate start=3902
    Prefix
    In Stata 8, considerable effort could be saved with the use of [R]statsby. In Stata 9, this notion has been extended with the [R]rolling command. The particulars ofby:usage, particularly in a panel context, has been exposited in
    Exact
    Cox (2001), and
    Suffix
    for brevity will not be discussed here. The outline of the talk: we will first discuss the use of thelocal macro, its cousinglobal,scalarand their interaction with Stata’s up-to-date constructs for repetitive work:foreachandforvalues.

3
Watson, I. 2005. Further processing of estimation results: Basic programming with matrices.StataJournal5(1): 83–91.
Total in-text references: 2
  1. In-text reference with the coordinate start=30866
    Prefix
    Virtually every command—including those which you might not think of as generating results—places items in thereturn list, which may be displayed by the command of the same name.6For instance, consider [R]describe: 4A good discussion of matrices for housekeeping is presented in
    Exact
    Watson (2005).
    Suffix
    5If this distinction interests you, [R]whichwill either report that a command is built-in (i.e., compiled code) or located in a particular ado-file on your disk. 6Significant exceptions: [R]generateand [R]egen.

  2. In-text reference with the coordinate start=46947
    Prefix
    If you have writtenmyrealprog.ado, on the other hand, you may invoke it as the Stata commandmyrealprogas long as it is defined on the [R]adopath. A nice illustration of transforming a do-file into an ado-file is presented in
    Exact
    Watson (2005).
    Suffix
    There are more profound differences, to be sure; ado-file programs may acceptargumentsin the form of avarlist,ifexporinrangeconditions, or options. Nevertheless, one need not go very far beyond the do-file examples we display above in order to generate a Stata command.