Date: Wed, 1 Nov 2006 22:21:02 GMT
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
Organization: SBC http://yahoo.sbc.com
Subject: Re: shorthand for list of variables
Wrong. Because a1 and a17 are character fields, you cannot subtract one
from the other.
"heidi" <firstname.lastname@example.org> wrote in message
> there's nothing wrong with using this type of notation, right?
> data test; input a1 $ a2 $ ...snip...... a17 $;
> if (a1 - a17) in ('a','b','c') then delete;
> the idea being that if any of the variables named a1 through a17 contain
> a,b or c, then delete