Thema: Delphi If Anweisung... Block?

Einzelnen Beitrag anzeigen

GanjaGott

Registriert seit: 20. Nov 2006
6 Beiträge
 
#4

Re: If Anweisung... Block?

  Alt 12. Dez 2006, 14:39
Delphi-Quellcode:
  if ein = 'Profikillerthen pun:=anz*176;
  if ein = 'Objektwachethen pun:=anz*21;
  if ein = 'Guardethen pun:=anz*388;
  if ein = 'Problemloeserthen pun:=anz*93;
  if ein = 'Bombenlegerthen pun:=anz*281;
  writeln;
  writeln;
  writeln ('Hier die Gesamtpunktzahl:');
  writeln (pun);
da will ich jetzt ne else anweisung einbauen und dann unten nochmals eine abfrage...

mfg
  Mit Zitat antworten Zitat