Einzelnen Beitrag anzeigen

venice2
(Gast)

n/a Beiträge
 
#15

AW: Unverständliche Compilerwarnung – Erwartet: ')' aber ','enthalten

  Alt 15. Mai 2021, 13:14
leeres projekt deinen record addiert kompiliert ohne Fehler oder Warnung. 10.4.2

Delphi-Quellcode:
unit Unit1;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs;

Type
  DoubleDouble = Record
  public
    X: Array [0..1] of Double;
  End;

  _DoubleDoubleHelper = Record Helper for DoubleDouble
  Const
    Pi: DoubleDouble = (X: (3.141592653589793116E+00,
                            1.224646799147353207E-16));
End;

type
  TForm1 = class(TForm)
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

end.

Geändert von venice2 (15. Mai 2021 um 13:17 Uhr)
  Mit Zitat antworten Zitat