Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: reading a value from a file into a scalar


From   "Chris Wallace" <[email protected]>
To   <[email protected]>
Subject   Re: st: reading a value from a file into a scalar
Date   Mon, 10 Jun 2002 10:16:50 +0100

Thank you to both Roger and Hakon for your suggestions.

Unfortunately, even under linux, an environment variable set in a shell
cannot be read from its parent process (in this case stata) and I cannot
find a way to get stata to read the return value.  I don't know how hard
this would be to implement, but it would be useful if -shell- caused the
return value to be stored in, say, r(retval).

However, I have updated my stata and -file- works perfectly.

Thanks again, Chris.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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