| Date: | Sat, 30 Aug 1997 13:39:51 GMT |
| Reply-To: | Xlr82sas <xlr82sas@AOL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Xlr82sas <xlr82sas@AOL.COM> |
| Organization: | AOL http://www.aol.com |
| Subject: | Re: A stupid question |
|---|
True funtions are avaiable in SAS
In IML
In C
In Macro Language
In macro + datastep
SCL is not the only place to find 'functions'. The last two
'functions' are avail in base SAS. The macro can be compiled and
completely hidden from the user. In this case the user would see only the
datastep code.
Consider ( from memory )
data doit;
arg1 = 1;
arg2 =2;
doit = diff ( arg1, arg2 );
run;
%macro diff ( var1, var2) / stmt;
&var2 - &var1
%mend diff;
Roger J DeAngelis
CompuCraft Inc
XLR82SAS@aol.com ( Accelerate to SAS )
http://members.aol.com/xlr82sas/utl.html
|