gonzales12 / cnpack

Automatically exported from code.google.com/p/cnpack
0 stars 0 forks source link

Unknown identifier 'FILENAME' in TCnScriptFileNotify #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Use Script:

program Script_dfm;

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, ScriptEvent, TypInfo;

var
  CnNotify: TCnScriptFileNotify;
begin
  if (Event <> nil) and (Event is TCnScriptFileNotify) then begin
    CnNotify:=TCnScriptFileNotify(Event);
    ShowMessage(CnNotify.FileName)
  end;

end.
{*******************************************************}

If to compile, an error:
Unknown identifier 'FILENAME' in TCnScriptFileNotify
_______________________________

Ver: 0.9.5.559_Unstable Build 2010.02.17
CodeGear™ RAD Studio 2009  Version 12.0.3420.21218

Original issue reported on code.google.com by ServerMo...@gmail.com on 2 Mar 2010 at 2:00

GoogleCodeExporter commented 9 years ago
Issue 13 has been merged into this issue.

Original comment by zjy.cnp...@gmail.com on 5 Mar 2010 at 9:32

GoogleCodeExporter commented 9 years ago
This is a bug of RemObjects Pascal Script, I have committed to PScript projct:
http://code.remobjects.com/p/pascalscript/issues/107/

Please wait for next build. Thank you for your report!

Original comment by zjy.cnp...@gmail.com on 5 Mar 2010 at 9:36

GoogleCodeExporter commented 9 years ago
You may download the 560 version to test:
http://cnpack.googlecode.com/files/CnWizards_0.9.5.560_Unstable.exe

Original comment by zjy.cnp...@gmail.com on 10 Mar 2010 at 10:22

GoogleCodeExporter commented 9 years ago
Thanks, work now!

Original comment by ServerMo...@gmail.com on 11 Mar 2010 at 11:55