< d2009 sample fixes
git-svn-id: http://code.remobjects.com/svn/pascalscript@169 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
This commit is contained in:
parent
d7c075f6a6
commit
71e743ff03
@ -45,7 +45,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
begin
|
||||
Compiler := TPSPascalCompiler.Create; // create an instance of the compiler.
|
||||
Compiler.OnUses := ScriptOnUses; // assign the OnUses event.
|
||||
|
@ -42,7 +42,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
begin
|
||||
Compiler := TPSPascalCompiler.Create; // create an instance of the compiler.
|
||||
Compiler.OnUses := ScriptOnUses; // assign the OnUses event.
|
||||
|
@ -58,7 +58,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
i: Integer;
|
||||
CI: TPSRuntimeClassImporter;
|
||||
begin
|
||||
|
@ -60,7 +60,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
CI: TPSRuntimeClassImporter;
|
||||
begin
|
||||
Compiler := TPSPascalCompiler.Create; // create an instance of the compiler.
|
||||
|
@ -71,7 +71,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
|
||||
N: PIfVariant;
|
||||
{ The variant in which we are going to store the parameter }
|
||||
|
@ -81,7 +81,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
|
||||
N: PIfVariant;
|
||||
{ The variant in which we are going to store the parameter }
|
||||
|
@ -78,7 +78,7 @@ var
|
||||
Exec: TPSExec;
|
||||
{ TPSExec is the executer part of the scriptengine. It uses the output of
|
||||
the compiler to run a script. }
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string{$ENDIF}
|
||||
{$IFDEF UNICODE}Data: AnsiString;{$ELSE}Data: string;{$ENDIF}
|
||||
|
||||
TestFunc: TTestFunction;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user