< d2009 sample fixes

git-svn-id: http://code.remobjects.com/svn/pascalscript@169 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
This commit is contained in:
carlokok 2009-09-10 11:47:37 +00:00
parent d7c075f6a6
commit 71e743ff03
7 changed files with 7 additions and 7 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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 }

View File

@ -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 }

View File

@ -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