This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
ScriptPack - version 2017 - Eval function
HI
The very simple example below from the chm file does not run as it complains form parsing error in the end of the "sin". This error appears in any eval or run script situation.
Why?
var
v: OleVariant;
begin
LMDScriptControl1.Language:=slpascal ;
LMDScriptControl1.Active := True;
v := LMDScriptControl1.Eval('(5 + 7) * 3 – Sin(0.1123)');
ShowMessage(v);

Comments