Autor Beitrag
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Sa 03.06.06 08:54 
Hallo,
Ich habe verschiedene Werte, ich denke Ascii, nun möchte ich aus diesen Werten wieder die Ursprüanglichen Buchstaben kriegen, ich brauche quasi eine Ascii to Str funktion.
Ich habe im Forum bis jetzt nur den anderen Weg gefunden.
Ich vermute das die Funktion so einfach ist und das ich sie nur übersehen habe, oder das sich kein Mensch dafür interessiert.
Also, wer ne idee hat bitte Posten
MfG Fighter#1

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Sa 03.06.06 10:07 
Chr()?

AXMD
fidionael
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 232

Win XP SP2, Ubuntu 6.06
Delphi 7 PE, Delphi 3 Prof
BeitragVerfasst: Sa 03.06.06 11:25 
Eine Ascii -> String - Funktion sähe etwa so aus:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
function AsciiToString(Ascii_Values: Array of Byte) : String;
var i: Integer;
begin
  Result:='';
  for i:=Low(Ascii_Values) to High(Ascii_Values) do
    Result:=Result+chr(Ascii_Values[i]);
end;


Hoffe, das hilft dir. Mfg
Fighter#1 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Sa 03.06.06 13:09 
Man :autsch:
das war wiedermal so klar, so was einfaches und ich bin zu doof!
:autsch: und immer wieder...

Danke!

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Grenzgaenger
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 03.06.06 22:15 
falls es darum geht, DOS Zeichen in den WIN zeichensatz umzuwandeln gibts hierfür eine kleine fuktion.. weiss aber nicht mehr genau, wie diese heisst. christian kennt sie glaub ich aus dem FF.

ist schon zu lang her...