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

st: Plugin related question


From   "Indranil Majumdar" <imajumdar@creditsights.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Plugin related question
Date   Wed, 1 Jun 2005 16:32:58 -0400

Hi,

I have the following query regarding passing macros to stata plugins.
 
The document for 'Creating and using Stata plugins' (on the Stata website),
says - "We could have just as easily passed the local macro name with the
underscore included in arglist..." 
The following is my interpretation, but it does not work.

. program <C++ pluginname>, plugin
. local x = 23.45
. plugin call <C++ pluginname>, _x y

It's not clear to me where to 'include the underscore in the arglist'.
Any help will be appreciated.

Thanks,
Indranil
CreditSights Inc.,
New York



*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index