Page 1 of 1

Req: CRLF in ZPropertyEditor.pas

Posted: 17.12.2009, 15:03
by delphinator
Hi Forum,

apperently I got errors when using zeoslib with RaveReport 7.
I got a conflict with a function named "CrLf" in RpBase.pas.
So can't we change these corresponding lines in ZPropertyEditor.pas ?
(lines 170 ff.)

const
CRLF = LineEnding;

...
into eg.

const
zCRLF = LineEnding;

... etc.

Bernhard

Posted: 19.12.2009, 10:41
by mdaems
What about

Code: Select all

Index: ZPropertyEditor.pas
===================================================================
--- ZPropertyEditor.pas	(revision 743)
+++ ZPropertyEditor.pas	(working copy)
@@ -168,9 +168,6 @@
   end;
 {$ENDIF}
 
-const
-  CRLF = LineEnding;
-
 {$ENDIF}
 
 implementation
@@ -194,6 +191,9 @@
 {$ENDIF SHOW_WARNING} 
 ;
 
+const
+  CRLF = LineEnding;
+
 {$IFDEF FPC}
 procedure GetItemNames(FieldDefs: TFieldDefs; List: TStrings); overload;
 var
which moves the definition into the implementation part of the unit?

Mark