Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#29

Re: die deutsche StringMatheLib ._.

  Alt 16. Jun 2009, 05:37
Die Unit läuft fast unter Delphi 5.

Folgende Punkte müssten noch bereinigt werden:

1. unit types entfernen

2. TValueRelationship und Konstanten von unit types deklarieren

Delphi-Quellcode:
type
  TValueRelationship = -1..1;
const
 (** Equals for extended comparisons. *)
  EqualsValue = 0;
  (** Less than for extended comparisons. *)
  LessThanValue = Low(TValueRelationship);
  (** Greater than for extended comparisons. *)
  GreaterThanValue = High(TValueRelationship);

3. "$IF not" ist unter D5 eine ungültige Compiler Directive.

{$IF not Declared(Trim)} -> [Error] StringMatheLib.pas(107): Invalid compiler directive: 'IF'
{$IF not Declared(Max)} -> [Error] StringMatheLib.pas(123): Invalid compiler directive: 'IF'


4. Delphi 5 kennt System.Error nicht
Thomas
  Mit Zitat antworten Zitat