Autor Beitrag
fabi65
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 64



BeitragVerfasst: Di 19.04.05 18:59 
wie kann ich eine integer var als String ausgeben?


Moderiert von user profile iconGausi: Topic aus Sonstiges verschoben am Di 19.04.2005 um 20:07


Zuletzt bearbeitet von fabi65 am Di 19.04.05 19:08, insgesamt 1-mal bearbeitet
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 19.04.05 19:07 
Hallo,
bitte ändere doch den Titel des Topics, da der jetzige nur sehr wenig über das Problem aussagt. - Danke.

Und zum Problem: inttostr()

_________________
We are, we were and will not be.
fvolk
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 203

Win XP (Home & Pro)
Delphi 2005 Pers
BeitragVerfasst: Di 19.04.05 19:08 
(Sehr aussagekräftiger Titel...)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
var
  s: String;
begin
  s := IntToStr(iDeineIntegerVariable);
end;


Jetzt steckt in s dein Integer (iDeineIntegerVariable) drin.
(Soll keine Kritik sein, aber vielleicht kaufst du dir mal ein Anfänger-Buch oder liest dir eines der diversen (teilweise sehr guten) Tutorials durch.)

// Edit: Die Mods sind einfach zu schnell für mich

_________________
Nichts auf der Welt ist so gerecht verteilt wie der Verstand. Denn jedermann ist überzeugt, dass er genug davon habe.
(René Descartes)
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Di 19.04.05 21:31 
in einer konsolenanwedung mit writeln(deineInt);

_________________
[inspirationslos]