home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12757 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.8 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: SAS/C 6.0 Details (LONG!)
  5. Message-ID: <Btn924.90B@unx.sas.com>
  6. Date: 27 Aug 92 13:20:28 GMT
  7. References: <fgd3.01rf@nifty.UUCP> <1992Aug26.171035.532@pixel.kodak.com>
  8. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  9. Organization: SAS Institute Inc.
  10. Lines: 36
  11. Originator: walker@twix.unx.sas.com
  12. Nntp-Posting-Host: twix.unx.sas.com
  13.  
  14.  
  15. In article <1992Aug26.171035.532@pixel.kodak.com>, jeh@raster.kodak.com (Ed Hanway) writes:
  16. |> Fabbian G. Dufoe, III (fgd3@nifty.UUCP) wrote:
  17. |> The only problem I encountered with this is that the ARP includes conflicted
  18. |> with some of the 2.0 asl includes, and perhaps some dos includes as well.
  19. |> Since the ARP code was limited to a single source file, this wasn't much of
  20. |> a problem.
  21.  
  22. There is a trick you can use to combat this problem.  Let's say you
  23. need to use the ASL file requester but still need to include the arp
  24. stuff.  The problem is that they both define a struct FileRequest.
  25.  
  26. No problem:
  27.  
  28.    #define FileRequest ASLFileRequest
  29.    #include <asl stuff>
  30.    #undef FileRequest
  31.  
  32.    #define FileRequest ARPFileRequest
  33.    #include <arp stuff>
  34.    #undef FileRequest
  35.  
  36. Now you have two different structure definitions, ASLFileRequest and
  37. ARPFileRequest, and you can use either or both of them.
  38.  
  39. |> --
  40. |> Ed Hanway --- jeh@raster.kodak.com
  41.  
  42. -- 
  43.   *****
  44. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  45.  *|. o.| ||                                          1200/2400/9600 Dual
  46.   | o  |//     For all you do, this bug's for you!
  47.   ====== 
  48. usenet: walker@unx.sas.com                            bix: djwalker 
  49. Any opinions expressed are mine, not those of SAS Institute, Inc.
  50.