![]() |
Brauche Hilfe beim Übersetzen aus C
Hallo!
Ich bin am verzweifeln!!! Ich versuche schon einige Zeit, diese 2 Zeile aus C in Pascal zu übersetzen.
Delphi-Quellcode:
Habe schon ein Paar Dinge probiert, hat aber nicht funktioniert!
command[2] = (0x21 >> 8);
command[3] = (0x21 & 0x00FF); Vielen Dank für eure Hilfe! Gruß, Jo |
Re: Brauche Hilfe beim Übersetzen aus C
Delphi-Quellcode:
Wobei sich da kürzen laßt.
command[2] := $21 shr 8;
command[3] := $21 and $00FF;
Delphi-Quellcode:
command[2] := 0;
command[3] := 33 {$21}; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:18 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