home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / basic / fastp12.zip / CALC.INC < prev    next >
Text File  |  1993-04-21  |  1KB  |  28 lines

  1. '*****************************************************************************
  2. '                            Fast Parser 1.2
  3. '              Copyright (C) 1992, 1993 by Daniel Corbier.
  4. '               All Rights Reserved.
  5. '*****************************************************************************
  6. $Float Procedure
  7.  
  8. '$Link"calc21.pbu"    '  PowerBASIC 2.1    Choose one of these 2 lines
  9. $Link"calc30.pbu"     '  PowerBASIC 3.0
  10.  
  11. $STACK       16000   ' You may reduce the stack in most cases.
  12.  
  13. Public VarValue##(), VarName$(), EqError%
  14.  
  15. Declare Sub      FastParserInit()
  16. Declare Function Eval##( STRING )
  17. Declare Function EqParse%( STRING )
  18. Declare Function Evaluate##( INTEGER )
  19. Declare Function Bin##( STRING )
  20. Declare Function Oct##( STRING )
  21. Declare Function Hex##( STRING )
  22. Declare Function MatchParenth%( INTEGER, STRING )
  23. Declare Sub      TrigMode( INTEGER )
  24. Declare Sub      UserFunction( STRING )
  25. Declare Sub      ReleaseEq()
  26. Declare Sub      ReleaseLastEq()
  27.  
  28. Call FastParserInit