home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / SASC6571.LZX / examples / samplelib / READ.ME < prev    next >
Encoding:
Text File  |  1996-12-24  |  975 b   |  30 lines

  1. Copyright (c) 1993 SAS Institute, Inc, Cary, NC USA
  2. All Rights Reserved
  3.  
  4. This following files make up the source to two versions
  5. of a very simple example library:
  6.  
  7. test.c             Contains two library routines.
  8.  
  9. try_one.c          Opens the test library and calls its two functions.
  10.  
  11. try_multi.c        Opens the test library and calls its two functions.
  12.  
  13. test.fd            .fd file describing test.library
  14.  
  15.  
  16. To build the libraries and test routines double click on the 
  17. build icon.
  18.  
  19. When the build is finished, two icons will appear: try_one and try_multi.
  20.  
  21. The try_one icon will use the version of the library that has a single
  22. global data area for all users of the library. If you invoke this
  23. icon multiple times, the values returned from the functions will
  24. vary.
  25.  
  26. The try_multi icon will use the version of the library that has a separate
  27. global data section for all the users of the library. Each time you 
  28. click on try_multi, the values returned will be the same.
  29.  
  30.