ChaosPro Home
Introduction
What's New
Palettes
Using Formulas
Layering in ChaosPro
Rendering
Fractal Parameter Windows
Windows
Menu
3D Transformations
Animations
Formula Compiler
Writing Formulas
Language Reference
Introduction
Basic Syntax
Datatypes
Constants
Variables
Expressions
Operators
Functions
Control Structures
Compiler Directives
Functions
Interface to ChaosPro
Escapetime Formulas
Quaternion Formulas
Attractor Formulas
Libraries
How it works together
Description function
Special Features, Notes...
Compatibility
Fractal Type Reference
Tutorials
Appendix
CHAOSPRO 4.0
Release 4.0
.

Formula Compiler - Interface

So far you have seen the syntax of the language. You should be able to write functions, declare variables, know about the different datatypes and know about the possible control structures.

The goal of this chapter is to show you how ChaosPro actually calls the functions. In C/C++ there is a beginning function called "main", which gets called at the beginning. A similar schema exists for ChaosPro's own language:
ChaosPro calls specific functions which you need to define. And these functions should perform the expected calculations.