Hi
I've made a Stata command that works from Stata 13 onwards because it uses xl().
I would like to extend the command to version 12.
And therefore I've made mata function string_matrix2csv.
My problem is not to parse the mata block containing xl() when I'm in version 12.
I've tried -_caller()- but then I can't test it in version 13.1 which is the only version I've got immediate access to.
I've also tried the mata function callersversion but that doesn't seem to work in version 12, at least not in a way so I don't the mata with xl() parsed as well.
And then command causes an error in Stata 12.
Does anyone have some good advice regarding this?
Thank you in advance
I've made a Stata command that works from Stata 13 onwards because it uses xl().
I would like to extend the command to version 12.
And therefore I've made mata function string_matrix2csv.
My problem is not to parse the mata block containing xl() when I'm in version 12.
I've tried -_caller()- but then I can't test it in version 13.1 which is the only version I've got immediate access to.
I've also tried the mata function callersversion but that doesn't seem to work in version 12, at least not in a way so I don't the mata with xl() parsed as well.
And then command causes an error in Stata 12.
Does anyone have some good advice regarding this?
Thank you in advance
Comment