home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / e / e060 / 2.ddi / CLINK.H next >
Encoding:
C/C++ Source or Header  |  1987-03-03  |  621 b   |  16 lines

  1. struct    item    {        /* 'user' data item structure         */
  2.     union    {
  3.         double    num;        /* floating point number     */
  4.         char    *str;        /* character string data     */
  5.         int    intt;        /* integer data             */
  6.         int    logic;        /* logical data             */
  7.     }    data;            /* data item             */
  8.     int    type;            /* data type specifier         */
  9. };
  10.  
  11. #define    DERROR    0    /* ERROR data type specifier             */
  12. #define    DNUM    1    /* floating point number data type specifier */
  13. #define    DLOGIC    2    /* logical data type specifier             */
  14. #define    DINT    3    /* integer data type specifier             */
  15. #define    DSTR    4    /* character string data type specifier         */
  16.