![]() |
VB konstanten nach Delphi konstanten
Hi,
wie kann man z.b.
Code:
in ne delphikonstante umwandeln?
&H38
|
&H gibt an, dass es sich um eine Hexadezimalzahl handelt. In Delphi werden Hex-Zahlen ein "$" vorangestellt.
Code:
$38
|
thx :)
|
Moin Zusammen,
was in diesem Zusammenhang eventuell noch interessant ist: Die C-Typische Notation 0x für Hexzahlen wird von StrToInt auch korrekt verarbeitet. Z.B. bringt der Aufruf von StrToInt('0xff') keinen Fehler, sondern gibt als Ergebnis, korrekt, 255 zurück. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:59 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz