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.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:27AM
    go to the binaries news group you will find a topic userfunctions
    see the second thread on dec 2004
    it shows how to use user functions and add functions from other libraries.
    ;)
  • edited 8:27AM
    thanx - i found it, i'll check it out.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.