I think that it is more than just a version statement, but Stata Corp
would have to comment on this.
My suggestion to solve the compatibility problem would be to not use a
.mo file and instead provide the mata code within an ado file so that
it compiles on the fly.
ben
On Tue, Sep 23, 2008 at 12:38 AM, Sergiy Radyakin
<[email protected]> wrote:
> Thank you Richard and Ben,
>
> I am not using any Mata features that were not available in Stata-9,
> so yes going to a person having Stata-9 and asking to compile on
> his/her machine helps, but not after Nth time :)
>
> I just thought I am not aware of a proper way to do it (by "proper
> way" I mean setting Mata settings in such a way that it generates code
> compatible with a certain version). Perhaps this is something to
> consider?
>
> Alternatively, is .mo format documented? Perhaps it's just a matter of
> changing a version signature somewhere, then I can quickly come up
> with a tool to modify it.
>
> Thanks,
> Sergiy Radyakin
>
>
>
> On Mon, Sep 22, 2008 at 6:14 PM, Ben Jann <[email protected]> wrote:
>> As far as I know, the only way to make a *.mo file work in Stata 9 is
>> to compile it in Stata 9.
>> ben
>>
>> On Mon, Sep 22, 2008 at 11:12 PM, Sergiy Radyakin
>> <[email protected]> wrote:
>>> Dear All,
>>>
>>> how do I tell Mata (in Stata 10), that the *.mo file that it compiles
>>> must be compatible with Stata 9? Currently if I compile in Stata 10, I
>>> can't use the resulting program in Stata 9. :(
>>>
>>> Thank you,
>>> Sergiy Radyakin
>>> *
>>> * For searches and help try:
>>> * http://www.stata.com/help.cgi?search
>>> * http://www.stata.com/support/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/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/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/statalist/faq
* http://www.ats.ucla.edu/stat/stata/