Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: inlist( variable, .a, .b, .c)

From   Stas Kolenikov <>
Subject   st: inlist( variable, .a, .b, .c)
Date   Tue, 10 Apr 2012 13:11:10 -0500

I am trying to manipulate some extended missing values, and found that
a very handy -inlist()- function does not work with them. The
documentation states that the arguments of -inlist- must be either all
strings or all reals. Apparently, the latter category excludes the
system missing values. Of course I can write all of this with
(variable == .a | variable == .b | variable == .c), but the whole idea
of -inlist()- is to avoid these cumbersome statements. That was the
grumble, and the wish is to have -inlist()- support the system missing

Stas Kolenikov, also found at
Small print: I use this email account for mailing lists only.
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index