word als hex in string konvertieren
hallo
weiß einer von euch wie ich die Hexdarstellung einer Variable v vom Typ Word in einen String konvertiere. Also, beispielsweise:
Delphi-Quellcode:
Danach würde s = FFFF sein...hat da einer ne Idee?
var
w: Word; s: String; ... w := 65535; s := GesuchteFunktion(w); Viele Grüße Martin |
Re: word als hex in string konvertieren
IntToHex
Delphi-Quellcode:
s := IntToHex(w, 4);
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:10 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz