Contact Support Download What's new? Who is GraphCalc? What is GraphCalc? Home
Getting Started
   Introduction
   Operation of GraphCalc
   Menu Commands
   Buttons
   Settings
   Accelerator Keys
   Output Printing
   Save Output
Arithmetic
   Basic Operations
   The Interpreter
   Trigonometry
   Bases
2D Graphing
   Equations Of Equations
   2D Graph Printing
   Save Graph As Bitmap
   Copy Graph to Clipbaord
   Graph Tabs
   Moving Around
     Auto-Center
     Full Window View
     Panning
     Selection Zoom
     Zooming
   Analysis
     Equation Intersections
     Equation Intercepts
     Equation Min Max
     Equation Values Table
     Find Area
     Cursor Position
     Evaluate
     Distance
     Tangent Lines
     Tracing
   Options
     Equations
       Euclidian vs Polar
       Entering Equations
     Range and Precision
       Euclidean
         Graph Range
         Area Precision
         Graph Line Resolution
       Polar
         Theta Range
         Polar Grid
         Polar View Range
     Display
       Misc Display Components
       Plotting Style
       Graph Axes
       Grid Options
       Zoom Decimal Precision
       Zoom Factor
       Font Size
3D Graphing
   Performance Notes
   3D Graph Printing
   Export to DXF
   Recompute Equations
   Moving Around
     Zooming in 3D
     Panning in 3D
     Rotating in 3D
     Auto Rotate
     Recenter View
   Analysis
     3D Evaluate
     Using Grid Planes
   Options
     Equations
       Entering 3D Equations
       Coloring
         Render Modes
         Shading Model
         Surface Shading Colors
     Range and Wire
       3D Range
       3D Wire Options
       3D Background Color
     3D Axes
     3D Tick Marks
Constants & Conversions
   User Entered Constants
   Using Constants
   Adding Custom Constants
   Using Conversions
   Adding Custom Conversions
Scripting
   Commands
   Script Controls
   Saving Scripts
   Running Scripts
Tools
   Equation Solver
   Script Library
Program Options
   Mode Dialog Box
   Startup Script
   Program Exit
   Misc Options
New Feature
New Tip/Trick
Send Us Your Scripts
Web Resources
Thank You
Purchasing GraphCalc
Usage Agreement

Constants are one of the best features of GraphCalc. They are fully customizable and dynamically allocated at program startup. The data is contained in the file constants.dat. The file is a simple text file editable with any text editor like notepad.

Although the file looks complicated at first, it is very simply and logically organized. It proceeds like so:

Group :=*GROUP*
Group Name
[SubGroup]*
[Constant Name
Constant Value]*
SubGroup :=*Group*

This is the approximate EBNF (Extended Backus Naur Form) of the file. In english, it consists of the word "Group" surrounded by as many asterisks as it's level of recursion. For example, all master categories for be surrounded by a single *, while sub categories are surrounded by two *'s, etc. On the next line comes the name of that category. This can be almost any alpha-numeric string of reasonable length. The lines following that are either the name of a constant followed by its value, or the a sub group which contains more constants.

I know it doesn't sound simple, but just take a look at the file, and I'll bet you can figure it out quickly by looking at the existing constants. You may add any numbers at all. You may even make a constant a formula by putting a whole string equation in for the value of a constant. Constants may also contain other constants.

Rule of thumb: When playing with the constants file, just make a backup and then go nuts with it. You can always move the file back (or re-download it from GraphCalc.com). Happy configuring :)