Date: Thu, 9 Mar 2000 15:52:48 "GMT"
Reply-To: "David L. Ward" <dward@SASHELP.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Ward" <dward@SASHELP.COM>
Subject: Re: macro as a function
Content-Type: text/plain; charset="us-ascii"
One more note on my previous reply:
The only real example that I have ever used this technique was when I had a very peculiar data set handed to me:
VAR1 OP VAR2
1 < 2
23 <= .666
45 / 234
I needed to find the answer to the operations described in each row of my data set. Instead of trying to code a select statement for every possible operator, I used the resolve and sysevalf functions. They were slow, but I didn't have THAT much data.
It works like a charm and is a very interesting application of the resolve function.
Sent by SASHelp.com user DWard
SASHelp.com - On-Line SAS Resources
Web interface to SAS-L at http://www.sashelp.com/sasl