Over My head -- 89 Programming


[Prev][Next][Index][Thread]

Over My head -- 89 Programming



I seemed to have jumped in over my head and am now drowning in ignorance.

I wrote a program for my 89 to work as a Polynomial solver similar to the one
on the 86.

It works.  Part of the program uses polyEval to take the coefficients and
generate an expression.  I then pass that expression to Solve to generate the
roots for f(x)=0.

Now I also want to pass the same equation to a Graph or DrawFunc to generate a
graph of the equation.  I stored the expression to a local variable.  I get an
undefined variable error.

What should I do to define a global variable that can be passed to the graphing
function as an argument?  Please be specific, I am kinda new at this.

If you want to see my code, let me know - I just did not want to clutter the
list.

Walt


References: