Registriert seit: 23. Jun 2003
416 Beiträge
Delphi 2006 Professional
|
Re: gibts so was wie elseif ?
6. Jul 2004, 23:17
Hi,
einfach mehrere if - then - else-Blöcke verwenden:
Delphi-Quellcode:
if t = 'ka' then
MachWas
else if t = 'irgendwas' then
MachWasAnderes
else
// ...
"Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking." (Dave Barry)
|