Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: postfile error


From   Gary Longton <[email protected]>
To   [email protected]
Subject   Re: st: postfile error
Date   Tue, 08 Apr 2008 13:10:15 -0700

I think -postfile- is complaining about the double quotes around the temporary filename referenced by your local tempfile macro.

try instead:

. postfile `memhold' funny str20 using `results'

- Gary

Jacob Wegelin wrote:

I am trying to use post, postfile, etc. I have copied the following syntax directly from the help file, but it returns an error, as documented below. What am I doing wrong?

. postutil clear

. tempname memhold

. tempfile results

. postfile `memhold' funny str20 using "`results'"
"/var/folders/HR/HRdt7XjbGC4gfgEM2M7yWE+++TM/-Tmp-//S_04578.000001 invalid name
r(198);
*
*   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