根据Stata关于SMCL指令的{browse args:text} pdf文档:
示例 。。。您可以{浏览“http://www.stata.com”:访问Stata网站}。。。
然而:
. di "you can {browse "http://www.stata.com":visit the Stata website} "
you can {browse http:/ invalid name
r(198);同样:
. di as smcl "you can {browse "http://www.stata.com":visit the Stata website} "
you can {browse http:/ invalid name
r(198);我在Linux和macOS上使用Stata 15.1。
发布于 2019-03-14 20:50:18
你只需要使用双引号:
. display `"you can {browse "http://www.stata.com":visit the Stata website}"'
you can visit the Stata websitehttps://stackoverflow.com/questions/55171533
复制相似问题