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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: _docx() example error


From   Sergiy Radyakin <serjradyakin@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: _docx() example error
Date   Tue, 25 Jun 2013 13:59:41 -0400

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