Thema: Delphi const array of record

Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#5

AW: const array of record

  Alt 17. Sep 2010, 14:57
Hallo,

Versuchs mal so:

Delphi-Quellcode:
const
  MyArray: array[0..1] of TRec =
    ((Text: 'Str1'; Zahlen: (4,2)),
     (Text: 'Str2'; Zahlen: (9,3)));
(aber keine Garantie)
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat