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

RE: st: Problems with outtable


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Problems with outtable
Date   Fri, 30 Jan 2004 11:50:43 -0000

Stata is objecting to lines of the form 

if <condition> { <action> } 

as the braces are no longer allowed 
in such single-line statements. I'll send 
a version to Kit Baum, the author, 
with this fixed. 

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Richard
> Williams
> Sent: 30 January 2004 11:32
> To: [email protected]
> Subject: Re: st: Problems with outtable
> 
> 
> At 12:05 PM 1/30/2004 +0100, [email protected] wrote:
> 
> >Dear Statalisters,
> >
> >I have an up-to-date installation of Stata (8.2). I am 
> trying to use the 
> >command outtable which I obtained from SSC. But my attempts 
> result in an 
> >error message:
> >
> >. matrix A = 2,3\4,5
> >. matrix list A
> >
> >A[2,2]
> >    c1  c2
> >r1   2   3
> >r2   4   5
> >
> >. outtable using test, mat(A)
> >program error:  matching close brace not found
> >r(198);
> 
> I just downloaded -outtable- and got the same problems you 
> did.  However, 
> it also came with -outtable7- (meant for version 7 of Stata) 
> and it seemed 
> to work fine (at least it didn't produce an error and it did 
> produce an 
> output file; I don't know if that file is correct though).
> 
> So, make sure you have the latest versions of -outtable- and see if 
> -outtable7- will do what you want.  Perhaps some recent 
> change in Stata has 
> inadvertently broken the newer -outtable- command.

*
*   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