home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c160 / 1.ddi / SOURCE / F4INT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-22  |  397 b   |  22 lines

  1.  
  2. /* (c)Copyright Sequiter Software Inc., 1987-1990.  All rights reserved.
  3.  
  4.    f4int.c
  5. */
  6.  
  7. #include "d4base.h"
  8.  
  9. extern int   v4cur_base ;
  10. extern BASE *v4base ;
  11.  
  12. int  f4int( long f_ref )
  13. {
  14.    /* Convert the field data into a 'int' */
  15.    return( c4atoi( f4ptr(f_ref), f4width(f_ref))  ) ;
  16. }
  17.  
  18. void f4r_int( long f_ref, int i_value )
  19. {
  20.    f4r_double( f_ref, (double) i_value ) ;
  21. }
  22.