Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: re: _docx() example error


From   "Airey, David C" <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   st: re: _docx() example error
Date   Tue, 25 Jun 2013 18:46:35 +0000

Yes, it is. But there are 7 arguments used in the PDF example in the manual on p 430. Maybe a documentation typo.


> Isn't this function declared with 6 arguments and you are calling it with 7?
> See: 
> http://www.stata.com/manuals13/m-5_docx.pdf
> 
> Sergiy
> 
> On Tue, Jun 25, 2013 at 1:45 PM, Airey, David C
> <[email protected]> wrote:
> > I was trying to get the Stata 13 _docx() Mata command to work and I get hung up by a code error from page 430:
> >
> >> _docx_table_mod_cell_table(dh, tid, i, 1, 0, tids[i-1], 0)
> > wrong number of arguments for _docx_table_mod_cell_table()
> > (9 lines skipped)
> >
> > I was copying and pasting and thought I got the returns taken care of, but
> > has anyone else run the example code from the M-5 PDF for _docx() successfully?
> >
> > Thanks,
> >
> > Dave


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index