Does "Uses" work in Pascalscript?
Here's the entire code in a new report:
uses 'gifToJpg.pas';
procedure Page1OnBeforePrint(Sender: TfrxComponent);
var u: TGIFToJPG;
begin
end;
begin
end.
When I try to trace into this script I get: BEGIN expected. If I get rid of the uses clause (and the variable declaration for u) then the problem goes away.
This should be fixable, shouldn't it? Can someone tell me how?
Thanks.
uses 'gifToJpg.pas';
procedure Page1OnBeforePrint(Sender: TfrxComponent);
var u: TGIFToJPG;
begin
end;
begin
end.
When I try to trace into this script I get: BEGIN expected. If I get rid of the uses clause (and the variable declaration for u) then the problem goes away.
This should be fixable, shouldn't it? Can someone tell me how?
Thanks.
Comments
see the second thread on dec 2004
it shows how to use user functions and add functions from other libraries.