ok, forgot some functions are not available on functions instead of programs.
Edit : ok, forgot some function
nalities are not available on functions instead of programs.
Try this :
- Code: Select all
Define LibPub eqcero(equloc)
Func
Return equloc-right(equloc)
EndFunc
(do the same steps for MyLib and libraries...)
to use it : eqcero(your equation)
If you want to store it for instance on variable blabla, use blabla:=eqcero(your equation)
To access the function use the libraries so you know what to type once you know what to type.
Should work fine (your function works perfectly, didn't test on the scratchpad however).