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: RE: double quotes in var label error findname(ssc)
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
st: RE: double quotes in var label error findname(ssc)
Date
Mon, 27 Feb 2012 12:41:08 +0000
There are several Nicks on this list....
-findname- from SSC is not the most recent version, but you have found a bug in -findname- 1.0.2 (SJ 10-4).
However, assume that you are looking for a pattern including literal double quote characters. Stata's rules imply that the option argument would need to be
varl(`"any""')
I think I've fixed this in a -findname- 1.0.3 which I will send privately to Marc for testing.
Nick
[email protected]
Kaulisch, Marc
Hi Nick,
I am not sure if we hit a bug in your findname (from ssc) programme.
We wanted to
findname, varl(*any") loc(st1)
But we get an error: invalid expression error
With set trace on we can spot that those variables cause problems that
include double quotes in the variable labels text. We are not sure if we
are not allowd to have double quotes in variable label texts in the
first place or if we hit a bug in findname...
*
* 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/