Date: Tue, 28 Oct 2003 12:34:10 -0700
Reply-To: Richard Read Allen <peakstat@WISPERTEL.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Richard Read Allen <peakstat@WISPERTEL.NET>
Subject: Re: vname, vnamex?
Content-Type: text/plain; charset="us-ascii"; format=flowed
Charles,
I did not overlook this, but rather was looking for a more elegant
solution than writing a bunch of if statements for all possible values of
x. The real values of x are much longer in length and the list of possible
values much larger than three.
Richard
At 02:22 PM 10/28/2003 -0500, Charles Patridge wrote:
>Richard,
>
>You might be trying too hard - try this -
>
>data test;
> input x $ a b c;
> if x = 'a' and a ge 5;
>
> cards;
>a 8 3 4
>a 4 6 7
>b 3 3 2
>b 3 9 5
>c 2 2 9
>;;;;
>run;
>
>
>HTH,
>Charles Patridge
|