I thought that if I added
version 11.2
at the top of an ado file or mata section, that Stata will refuse to run facilities that were introduced since version 11.2. However, using Stata 14, I am able to run mata code using the recently introduced unicode string functions eg ustrpos and ustrtrim. The code fails when run in Stata 13. This is not what I expected from the reading the documentation.
Is this a bug or am I missing something?
Is there a way to ensure that Stata warns about using features that may not be available in an older version?
Cheers,
version 11.2
at the top of an ado file or mata section, that Stata will refuse to run facilities that were introduced since version 11.2. However, using Stata 14, I am able to run mata code using the recently introduced unicode string functions eg ustrpos and ustrtrim. The code fails when run in Stata 13. This is not what I expected from the reading the documentation.
Is this a bug or am I missing something?
Is there a way to ensure that Stata warns about using features that may not be available in an older version?
Cheers,
Comment