Einzelnen Beitrag anzeigen

Balu der Bär
(Gast)

n/a Beiträge
 
#3

Re: Case...of und Ordinal-Typ-Fehler?

  Alt 1. Sep 2006, 14:51
Wie wärs mit:
Delphi-Quellcode:
case StrToInt(tagg) of
1 : tagg:='Sonntag';
2 : tagg:='Montag';
3 : tagg:='Dienstag';
4 : tagg:='Mittwoch';
5 : tagg:='Donnerstag';
6 : tagg:='Freitag';
7 : tagg:='Samstag';
ens;
  Mit Zitat antworten Zitat