Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: re: _docx() example error


From   "Airey, David C" <david.airey@vanderbilt.edu>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
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
> <david.airey@vanderbilt.edu> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index