Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8922727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:55:07+00:00 2026-06-15T06:55:07+00:00

Does anyone know which predefined functions (e.g ABS function) are included in the TEvaluator

  • 0

Does anyone know which predefined functions (e.g ABS function) are included in the TEvaluator JCL class for Delphi 7?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:55:08+00:00Added an answer on June 15, 2026 at 6:55 am

    There are none of the standard functions from Math.pas included. All that is implemented in the default evaluation parser are the operators or, xor, and, not, mod, +, -, /, *, <, >, <=, >=, =, div, cmp, bor, bxor, band, bnot, shl, and shr. (As many as I found in a quick check of the source, and a few I missed based on @David’s comment.)

    You can add functions (including those that are part of the Delphi RTL) to the evaluator fairly easily. It’s even shown in the demo, which adds the functions from one of the JCL units.

    The JCL evaluator example (ExprEvalExample.dpr) found by default in the JCL\examples\common\expreval folder passes a TComboBox.Items to the Init function in ExprEvalExampleLogic.pas as the FuncList parameter, which is populated by this code (the TEasyEvaluator is given the functions in the same routine) with the functions from JclMath.pas:

      with FuncList do
      begin
        Add('LogBase10');
        Add('LogBase2');
        Add('LogBaseN');
        Add('ArcCos');
        Add('ArcCot');
        Add('ArcCsc');
        Add('ArcSec');
        Add('ArcSin');
        Add('ArcTan');
        Add('ArcTan2');
        Add('Cos');
        Add('Cot');
        Add('Coversine');
        Add('Csc');
        Add('Exsecans');
        Add('Haversine');
        Add('Sec');
        Add('Sin');
        Add('Tan');
        Add('Versine');
        Add('ArcCosH');
        Add('ArcCotH');
        Add('ArcCscH');
        Add('ArcSecH');
        Add('ArcSinH');
        Add('ArcTanH');
        Add('CosH');
        Add('CotH');
        Add('CscH');
        Add('SecH');
        Add('SinH');
        Add('TanH');
      end;
    

    Those would be the functions supported in the demo app. You can add your own in a similar fashion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Out of curiosity, does anyone know which IDE the developers of the Delphi IDE
Does anyone know which event is fired after a view is rendered in backbone.js?
Does anyone know in which programming language the Googlebot was written? Or, more generally,
Does anyone know utility which can measure work intensity. For example - keystrokes\mouse clicks
Does anyone know a Library which provides a Thread.sleep() for Java which has an
Does anyone know a script which would wrap old Products namespace style Plone add-on
Does anyone know of a simple HTML5/CSS3 framework which applies a minimum of formatting
Does anyone know the correct way to explicitly specify which rules Gendarme will use?
Does anyone know of a good online resource which gives a clear reference on
Does anyone know of any publicly available Question answering applications which have built using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.