SigmaSciences / opaR

Port of R.NET to Embarcadero Delphi
20 stars 11 forks source link

Engine Initialize missing parameters #4

Closed davidberneda closed 8 years ago

davidberneda commented 8 years ago

At unit opaR.Engine.pas, class function TREngine.GetInstance method, there is a call to FEngine Initialize that is missing the "parameters" and "device" parameters:

if initialize then
  FEngine.Initialize(parameter, device);

(I'm using the "device" parameter with a custom TStringsDevice class to write console output to a TStrings variable)

TREngine.GetInstance('', True, nil, TStringsDevice.Create(Output) as ICharacterDevice)