home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / prg / sphinx / examples / obj / objtest.c__ < prev    next >
Encoding:
Text File  |  1994-07-11  |  556 b   |  24 lines

  1. /*
  2.     NAME: OBJTEST.C--
  3.     DESCRIPTION:  This program must be compiled to an OBJ file for use with
  4.                   C_TEST.C and PAS_TEST.PAS.
  5.                   To build an OBJ file, on the compiler options window select
  6.                   OBJ file as the output type, and set jump to main() as
  7.                   none.
  8. */
  9.  
  10. ?include "WRITE.H--"
  11.  
  12. void far display_word (word wordvalue)  
  13. {
  14. @ WRITEWORD(wordvalue);
  15. @ WRITELN();
  16. }       
  17.  
  18.  
  19. word far double_it (word wordvalue)  
  20. {
  21. return(wordvalue*2);
  22. }       
  23.  
  24. /* end of OBJTEST.C-- */