Autor Beitrag
abi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 121

Windows 2000
Delphi 5
BeitragVerfasst: Fr 07.05.04 12:18 
Hallo

ich habe folgende Wünsche. :wink2: Ich habe einen hex Wert in einem String gespeichert, jetzt möchte ich diesen Wert in dezimal Zahlen umrechnen und dann ausgeben.

Mein Problem ist folgendes, wenn ich jetzt ein buchstabe in meinem Hex Wert habe, kann ich des nicht auf Integer wert wandeln.

Des wars. :lol:

Mercy

abi

_________________
Die lansamste Schnecke kommt auch irgendwann an.
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Fr 07.05.04 12:24 
doch kannst du:
ausblenden Delphi-Quelltext
1:
DecNum := StrToInt('$' + HexNum);					



raziel

_________________
JSXGraph
abi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 121

Windows 2000
Delphi 5
BeitragVerfasst: Fr 07.05.04 12:37 
:dance2: :dance: :dance2:
Danke raziel

habs gerade aus probiert. Genau des wollte ich, dann mal danke für die schnelle antwort.
:beer:
Ciao

abi

_________________
Die lansamste Schnecke kommt auch irgendwann an.
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 07.05.04 14:24 
Und wo ist der Bezug zur Sparte: "Dateizugriffe"? :roll:
abi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 121

Windows 2000
Delphi 5
BeitragVerfasst: Fr 07.05.04 14:30 
Oh sorry, hab ich nicht aufgepasst.

Aber danke für denn Hinweis. Werds des nächste mal vermeiden.

ciao

abi

_________________
Die lansamste Schnecke kommt auch irgendwann an.