Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Äquivalent für unsigned char Datentyp in Delphi. (https://www.delphipraxis.net/19284-aequivalent-fuer-unsigned-char-datentyp-delphi.html)

Virchov 31. Mär 2004 14:07


Äquivalent für unsigned char Datentyp in Delphi.
 
Moin!

Gibt es sowas in Delphi wie "unsigned char" - Datentyp?
Wie hiesse er denn? :-)

Danke! :lol:

Tyrael Y. 31. Mär 2004 14:13

Re: Äquivalent für unsigned char Datentyp in Delphi.
 
char ;)

gibt kein signed oder unsigned in Delphi

alle char Typen:

Type_____ _Bytes______Contents_____________________________P urpose
Char_____ _1__________Holds a single ANSI character._______Default character type.
AnsiChar_ _1__________Holds a single ANSI character._______8-bit Ansi character standard on Windows.
WideChar_ _2__________Holds a single Unicode character.____16-bit Unicode standard on Windows.

Dani 31. Mär 2004 14:14

Re: Äquivalent für unsigned char Datentyp in Delphi.
 
Edit Zu langsam... :duck:

maximov 31. Mär 2004 15:16

Re: Äquivalent für unsigned char Datentyp in Delphi.
 
Zitat:

Zitat von Virchov
Moin!

Gibt es sowas in Delphi wie "unsigned char" - Datentyp?
Wie hiesse er denn? :-)

Danke! :lol:

Ist das nicht sowas wie ein Byte?

Vjay 31. Mär 2004 15:53

Re: Äquivalent für unsigned char Datentyp in Delphi.
 
Ein char ist ein zeichen = 1 byte und unsigned heisst es hat einen Bereich von 0 bis 255.

Du kannst den Datentyp Char oder Byte verwenden.


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:09 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