Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#4

AW: einzelne bytes in ein 4-byte int umwandeln

  Alt 20. Mär 2017, 15:44
Oder in einer Zeile ohne Records:

Int := (B1 shl 24) or (B2 shl 16) or (B3 shl 8) or B4;
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat