Hello!
What follows is a four message POSTIT!'ed .ZIP. I had to .ZIP the file
because the source code includes codes that choke mailers.
ARDAF151.BAS is the current release of my ARDAF math parser and
expression solver. The source code includes full documention.
Essentially, ARDAF allows you to link in a simple PUBLIC FUNCTION called
SolveExpression() that solves all kinds of run-time math expressions.
No longer must you hard code your graph functions. Your user can enter
in expressions, such as:
y := 10*x+square_root(x/2*cos(x))
Ardaf allows user defined variables, and even has definable functions:
distance(x1,y1,z1,x2,y2,z2) :=
square_root((x1-x2)^2+ .... )
Also, ARDAF allows functions to have default parameters:
myfun(x,y:100) := x*y
Called myfun(10), this function returns 1000. Called myfun(9,9), this
function returns 81.
Since this code is fully public domain, I leave it to you to discover
what is possible with ARDAF!
Watch for future revisions....
Jamshid
--- Maximus/2 2.01wb
---------------
* Origin: Sound Stage BBS - Live Via Satellite - (604)944-6476 (1:153/7070)
|