Topic: Python scripting question
Hi there. Thank you for this software, I use it regularly as a maths tutor. I have started playing with scripting but I keep getting an error. I am running Python 3.2.3 and Graph 4.4.2.
From the console (F11):
>>> Graph.Selected
TStdFunc("f(x)=x^3+4x^2+x+3")
>>> Graph.Selected.Eval(1)
(1.0, 9.0)
>>> Graph.Selected.MakeDifFunc()
TStdFunc("f(x)=3*x^2+8x+1")
>>> dydx = Graph.Selected.MakeDifFunc()
>>> dydx.Eval(1)
This results in an error box displaying the message:
Access violation at address 00520E79 in module 'Graph.exe'. Read of address 00000008.
If I try to do the same thing from a script, I get an error box stating:
Invalid pointer operation.
Does anyone know if this is something that I am doing wrong, or a bug? I'm new to Python so I may be doing something stupid!
Thanks.