Autor Beitrag
Diabele$
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 53



BeitragVerfasst: Mi 23.03.05 10:18 
Hallo,
man kann ja Zahlen so
ausblenden Delphi-Quelltext
1:
Buchstabe := #33 //Buchstabe ist also '!'					

ich Char, bzw. String umwandeln.

Wenn ich die Zahl aber in einer Variable habe, was dann?
So geht's ja nicht:
ausblenden Delphi-Quelltext
1:
2:
i:=33;
Buchstabe:=#i;
.

Wie mache ich es also, wenn die Zahl in einer Variablen gespeichert ist?


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mi 23.03.2005 um 11:00
opfer.der.genauigkeit
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754
Erhaltene Danke: 1



BeitragVerfasst: Mi 23.03.05 10:24 
ausblenden Delphi-Quelltext
1:
buchstabe := char(i)					

_________________
Stellen Sie sich bitte Zirkusmusik vor.


Zuletzt bearbeitet von opfer.der.genauigkeit am Mi 23.03.05 10:27, insgesamt 1-mal bearbeitet
Diabele$ Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 53



BeitragVerfasst: Mi 23.03.05 10:26 
:shock: Doch so einfach?
Danke für die schnelle Antwort :D