I think it might be a bug. I does not work as shown before, but when I added another variable it works. Below is the modified code.
program example4;
uses symbolic;
var
s,t :AnsiString;
pip :extended;
begin
pip:=3.14159265359;
s:='cos(3.14159265359*45/180)';
t:='cos(PI*A/180)';
writeln(quickevaluate(s,[],[]));
writeln(QuickEvaluate(t,['PI','A'],[pip,45]));
end.
Therefore, my problem is fixed
. Of course, this one variable call issue may cause problems later on.
Its a good library for pascal. It is very handy.