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]

Re: st: calling a program

From   Michael Norman Mitchell <>
Subject   Re: st: calling a program
Date   Thu, 29 Apr 2010 00:49:08 -0700


Here is an example... this is a program called "progone.ado" which calls the subprogram "progtwo" that is contained within it.

--- begin progone.ado ---
program define progone
  display "hello from program one"

program define progtwo
  display "hello from program two"
--- end progone.ado ---

and here is the output from the -progone- command.

. progone
hello from program one
hello from program two

  Is that what you were asking?

Best regards,

Michael N. Mitchell
See the Stata tidbit of the week at...

On 2010-04-29 12.30 AM, Bülent Güloğlu wrote:

When I call a subprogram stata tells me unregonized command
How can I can call a subprogram

*   For searches and help try:
*   For searches and help try:

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