home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / C / CALCDLL / CALC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-28  |  2.2 KB  |  32 lines

  1. /*************************************************************************
  2. **   C A L C . H                                                        **
  3. **----------------------------------------------------------------------**
  4. **   Headerfile for CALC.DLL (a calculator for mathematical             **
  5. **   expressions in stringform)                                         **
  6. **                                                                      **
  7. **                                                                      **
  8. **   (c) 1995 by CIK - Uni Paderborn (Germany)                          **
  9. **       written by Karsten Jakuschona / Guido Ahle                     **
  10. **                                                                      **
  11. **                                                                      **
  12. **   for further information see CALC.TXT                               **
  13. **                                                                      **
  14. *************************************************************************/
  15.  
  16. #define CERR_OK           0        /* No Error                          */
  17. #define CERR_UNBALAN      1        /* Not allowed parenthesis           */
  18. #define CERR_UNKNOWN      2        /* Undefined variable                */
  19. #define CERR_DOMAIN       3        /* Out of domain area                */     
  20. #define CERR_NOARG        4        /* Function without arguments        */         
  21. #define CERR_MAXVARS      5        /* No further variables available    */      
  22. #define CERR_SYNTAX       6        /* Syntax error                      */    
  23. #define CERR_NUMARGS      7        /* Not enough arguments defined      */      
  24. #define CERR_DIVZERO      8        /* Division by zero                  */ 
  25. #define CERR_EMPTY        9        /* Undefined expresion               */  
  26. #define CERR_BADFUNC      10       /* Undefined function                */
  27.                                                 
  28.  
  29.                                                 
  30. /* function prototype */          
  31. // export ordinal no.: @1 (placed in modul definition file)                                      
  32. int _far _pascal _export _loadds ComputeString( char far *, double far *  );