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

Re: st: postfile error - additional note

From   Gary Longton <>
Subject   Re: st: postfile error - additional note
Date   Tue, 08 Apr 2008 13:20:30 -0700

At second glance, you will likely receive another syntax error even with this correction. str20 refers to a string variable storage type and should be followed by a corresponding variable name.

- Gary

Gary Longton wrote:

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
*   For searches and help try:

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