Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: Code abkürzten
12. Apr 2011, 10:25
Hallo,
Noch ein bisschen kleiner ginge es so:
Delphi-Quellcode:
var
x, y, z: Integer;
begin
x := StrToIntDef(Edit1.Text,1);
y := x * 2;
z := x * 3;
end;
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|
|
Zitat
|