Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: {smcl} link problem
From
Sergiy Radyakin <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: {smcl} link problem
Date
Tue, 4 Jun 2013 16:13:42 -0400
Dear All,
I don't know which limit from 'help limits' is applicable in this
case, but it seems that ~244 is rather a small number here. I would
imagine that "# of characters in a command" is more suitable.
In the following code snippet the smcl link gets corrupted after the
link text becomes too long (in my code the list supplied to the link
is list of different variables of course):
* * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * *
mata
adjvars=""
for(v=1;v<=99;v++) {
v
adjvars=adjvars+" x12345"
printf("{text}Message: {stata " + `"""' + "describe " +
adjvars+`"":"'+"INFO"+"}")
""
}
end
* * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * *
Can somebody please confirm that 244 is indeed an intended and
unavoidable limit on such a link size, or is it a bug and is there a
workaround?
Stata 12/MP/Windows
Thank you, Sergiy Radyakin
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/