Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Two Questions about Release 9.1


From   n j cox <n.j.cox@durham.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Two Questions about Release 9.1
Date   Fri, 16 Sep 2005 12:27:17 +0100

Two different points:

1. I guess you could write your own command based on -file-
to read in text strings and assign them to value labels.

2. One of the many interesting aspects of Statalist is that
you learn about other people's quite different desires
in data analysis. If you had value labels longer than 244 characters, when and how in Stata would you make _practical_ use of them?

Nick
n.j.cox@durham.ac.uk

>>> Joseph Coveney

2. (This isn't really new to 9.1, but the announcement caused me to look
at -help limits- again.) According to the help file, "length of string in string expression " and the "length of a string variable" are both 244 characters. The "length of value label string" is 32 000, however. Am I reading this correctly, that by putting the text contents into a value label we can work around the 244-character limit of string variables? If so, how can this normally be accomplished in practice? By using -infile , automatic-? I've had trouble understanding how the -automatic- option works in -infile-.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index