home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / ACE / Prgs / ExternFunc / sub.c < prev    next >
Text File  |  1994-08-01  |  169b  |  13 lines

  1. /* 
  2. ** Subtract two long integers passed
  3. ** by value and return the result in 
  4. ** a third parameter by reference.
  5. */
  6.  
  7. subtract(x,y,z)
  8. long x,y;
  9. long *z;
  10. {
  11.   *z = x-y;
  12. }
  13.