Stata tip 120: Certifying sub-routines

Maarten L. Buis

The Stata Journal (2014) Vol. 14 No. 2, pp. 449-450.


When writing a program in Stata one can store various sub-routines in the same .ado file. These sub-routines will be visible only to the programs defined in that .ado file. This Stata tip discusses a trick one can use to still access these sub-routines. This can be useful when writing a certification script for those sub-routines or when debugging these sub-routines.

Full text