home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / bit / listserv / sasl / 5542 < prev    next >
Encoding:
Text File  |  1993-01-06  |  752 b   |  30 lines

  1. Newsgroups: bit.listserv.sas-l
  2. Path: sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!tasman.cc.utas.edu.au!jmw
  3. From: jmw@tasman.cc.utas.edu.au (John Mark Williams)
  4. Subject: user-defined macro functions?
  5. Message-ID: <jmw.726368153@tasman>
  6. Sender: news@newsroom.utas.edu.au
  7. Organization: University of Tasmania, Australia.
  8. Date: Thu, 7 Jan 1993 00:55:53 GMT
  9. Lines: 19
  10.  
  11. Hi all,
  12.  
  13. Is is possible to write a user-defined function in SAS? Something that would
  14. operate like:
  15.  
  16. %let x = %amacro;
  17.  
  18. where amacro will return a value. Alternatively what about
  19.  
  20. %amacro(x)
  21.  
  22. where the value of x is altered within the macro and is available outside it.
  23.  
  24. Many thanks,
  25. --
  26. John M Williams, 
  27. School of Health Sciences, University of Tasmania
  28. J.M.Williams@med.utas.edu.au
  29.  
  30.