Stata 11 help for do

help do, help run dialog: do -------------------------------------------------------------------------------

Title

[R] do -- Execute commands from a file

Syntax

{do|run} filename [arguments] [, nostop ]

Menu

File > Do...

Description

do and run cause Stata to execute the commands stored in filename just as if they were entered from the keyboard. do echoes the commands as it executes them, whereas run is silent. If filename is specified without an extension, .do is assumed.

Option

nostop allows the do-file to continue executing even if an error occurs. Normally, Stata stops executing the do-file when it detects an error (nonzero return code).

Also see

Manual: [R] do

Help: [R] doedit; [P] include


© Copyright 1996–2009 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index