home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l200 / 6.ddi / LIB / FMT.H < prev    next >
Encoding:
Text File  |  1986-08-21  |  689 b   |  26 lines

  1. /* fmt.h -
  2.     This header contains a description of the structure
  3.     that indicates the encoding of a format.
  4.  
  5.     Copyright (c) 1984 by JMI Software Consultants, Inc.
  6. */
  7. struct  coded_format
  8.     {
  9.     BITS  cf_flags;
  10.     COUNT cf_len;
  11.     COUNT cf_left;
  12.     COUNT cf_right;
  13.     };
  14.  
  15. /*  flags for the cf_flags field */
  16.  
  17. #define cf_STRING    0001    /* a string format */
  18. #define cf_TMINUS    0002    /* Trailing Minus */
  19. #define cf_LMINUS    0004    /* Leading Minus */
  20. #define cf_LPLUS    0010    /* Leading Plus */
  21. #define cf_AST        0020    /* Asterisk */
  22. #define cf_COMMA    0040    /* Comma */
  23. #define cf_EXPON    0100    /* An exponent */
  24. #define cf_PERIOD    0200    /* A decimal point */
  25. #define cf_DOL        0400    /* A floating $ */
  26.