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

st: RE: Calling a Do-file

To   "" <>
Subject   st: RE: Calling a Do-file
Date   Thu, 23 Oct 2008 02:06:37 -0700

You can nest up to 64 do-files. See -h limits-

Yes, but you can change the value of a variable in one do-file from a different do-file?

-----Original Message-----
[] On Behalf Of
Sent: Thursday, October 23, 2008 9:07 AM
Subject: st: Calling a Do-file

Is there a way to run a do-file (ie secondary do-file) from inside
another do-file (ie primary do-file) and change a variable inside the
secondary do-file?
For example,
replace j=1
do "C:\"
replace j=2
do "C:\"

*   For searches and help try:

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