Autor Beitrag
Jerk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 251

Vista Ultimate, Ubuntu
Turbo Delphi 2006
BeitragVerfasst: Do 08.05.08 15:58 
Moin,
ich möchte einen eigenen Variablentypen erstellen und stehe grade irgentwie auf dem Schlauch:

erstmal mein Code
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
 type TEOKIND = (EOSIMPLE,EOCUBE,EOSPHERE);
...
 var Test : TEOKIND;
...
  TEST := EOSIMPLE;


[DCC Fehler] '(' erwartet, aber ':=' gefunden

was mache ich falsch?
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Do 08.05.08 16:08 
Zeig mal bitte den Code drumherum. Das was da steht, scheint erstmal richtig zu sein :gruebel:

_________________
We are, we were and will not be.
Jerk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 251

Vista Ultimate, Ubuntu
Turbo Delphi 2006
BeitragVerfasst: Do 08.05.08 16:21 
Ohman, kann gelöscht werden, schon dämlich wenn private darüber steht *Kopfgegenwand*