
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
||
|
Hallo, dow läuft ja von 0 - 6 für "Mo" - "Sa". Nun möchte ich diesen als Text abhängig von dow ausgeben (print an den PC). Was Besseres als das folgende Programmstück ist mir nicht eingefallen: if dow=0 then print "So"; if dow=1 then print "Mo"; if dow=2 then print "Di"; if dow=3 then print "Mi"; if dow=4 then print "Do"; if dow=5 then print "Fr"; if dow=6 then print "Sa"; Weiss jemand was Besseres? Leider kann man in einer table ja keine Textliterale angeben. Danke Laika |
| Antwort schreiben |