[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: reading a value from a file into a scalar
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: