Date: Sun, 18 Jul 2004 12:35:03 -0700
Reply-To: Roger DeAngelis <xlr82sas@AOL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Roger DeAngelis <xlr82sas@AOL.COM>
Subject: Re: Assigning the result of an IF stmt to a variable
Content-Type: text/plain; charset=ISO-8859-1
"Scott" <foo> wrote in message news:<email@example.com>...
> I was hoping this would work:
> data _null_;
> rc = if x=1;
> rc = (if x=1);
> rc = (if (x=1));
> but all fail the compiler.
> I know this is just syntactic sugar, but is there a way to code it this way?