
Zitat von
uligerhardt:

Zitat von
stho:
Bleibt mir wohl nix anderes übrig als dies Array zu zählen

In neueren Delphi-Versionen zählt der Compiler für dich:
Delphi-Quellcode:
const
list: array[0..99] of string = ('Test1', 'test2', 'test3');
ergibt
Code:
[DCC Fehler] Unit1.pas(34): E2072 Anzahl der Elemente (3) weicht von der Deklaration (100) ab
Habs grade mal ausprobiert
Das ist wirklich ne tolle sache
Vielen dank!!