LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 1997, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page