Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Mata function stata() within program


From   M Hollis <m73hollis_stata@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Mata function stata() within program
Date   Thu, 23 Mar 2006 07:41:06 -0800 (PST)

--- "William Gould, Stata" <wgould@stata.com> wrote:
> My suggested solution is 
> 
> stata("local hash1 = mod("  +  key1  +  ", 197)")

Thanks for your detailed discussion about mata vs. ado
files.  Very helpful.  I was wondering, though, if you
could provide a manual reference or more of a
description of the syntax in your suggested solution
above.  In particular, I'm wondering what the " + key1
+ " is doing exactly.  I haven't run across that
option in the manual, and it's hard to search the help
for something that's just quotes and plus signs.  I
feel like it could be a very useful function if I
could figure out how it works.

Thanks,

Matissa

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index