Does anyone know if it's possible to obtain the entire contents of a
value label, say with something like a macro extended function? What
I'd like to do is to step through the entire mapping
programmatically, and thus actually, even just obtaining the list of
integers mapped to labels (i.e., a sort of -levels- command for value
labels) would also work, since I could then use the label macro
extended function to obtain the label for each integer.
I've looked at the other commands that operate on value labels, but
these (e.g., -labelbook- or -numlabel-) appear to use -uselabel-,
which itself uses -label save- to create a file containing the
mapping(s) and then parses this file. I can do this too, but in
cases where I just want a single mapping, it seems like a lot of work
to create a file and then read it.
If I am overlooking something obvious here, I apologize.