Maybe the -labelsof- command is of help. It returns all labeled values
in r(values). See
 . ssc d labelsof
ben
On Fri, May 2, 2008 at 6:13 PM, Friedrich Huebler <[email protected]> wrote:
> -labelbook- lists the range of values, as in the example below. How
>  can one access this range for subsequent processing?
>
>  Friedrich
>
>
>  . sysuse auto
>  . labelbook origin
>
>  ------------------------------------------------------------------------------------
>  value label origin
>  ------------------------------------------------------------------------------------
>
>       values                                    labels
>        range:  [0,1]                     string length:  [7,8]
>            N:  2                 unique at full length:  yes
>         gaps:  no                  unique at length 12:  yes
>   missing .*:  0                           null string:  no
>                                leading/trailing blanks:  no
>                                     numeric -> numeric:  no
>   definition
>            0   Domestic
>            1   Foreign
>
>    variables:  foreign
>
>                                     numeric -> numeric:  no
>   definition
>            0   Domestic
>            1   Foreign
>
>    variables:  foreign
>  *
>  *   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/
>
*
*   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/