Sign in Join
Wiki copytemporary

QWord/de

Deutsch · English · Français

Zurück zu den Datentypen.

Wertebereich: 0 .. 18446744073709551615

Speicherbedarf: 8 Byte bzw. 64 Bit

Eigenschaft: Ein Datenfeld vom Datentyp Qword kann nur ganzzahlige Werte ohne Vorzeichen aufnehmen.

Das Zuweisen anderer Werte führt beim Kompilieren des Programms zu Fehlermeldungen des Compilers und der Compiliervorgang wird abgebrochen. Das heißt, das ausführbare Programm wird nicht erstellt.

Definition eines Datenfeldes vom Typ Qword:

pascal
 Var 
   qw: Qword;

Beispiele für die Zuweisung gültiger Werte:

pascal
   qw := 0;
   qw := 255;
   qw := 65535;
   qw := 4294967295;
   qw := 18446744073709551615;

Beispiele für die Zuweisung ungültiger Werte:

pascal
   qw := '0';
   qw := '255';
   qw := '65535';
   qw := '4294967295';
   qw := '18446744073709551615';

Der Unterschied zwischen den beiden Beispielen liegt darin, dass es sich beim oberen Beispiel um die Zuweisung von Literalen des Typs Ganzzahl handelt, während es sich bei der Zuweisung des unteren Beispiels um Literale des Typs String handelt.


From the Free Pascal wiki, page "QWord/de", as it stood on 2020-02-23 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 4 people, 2012–2020

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
OlafCreated page
Olaf
Olaf
Olaf
Olaf
Olaf
Billyraybonestypos (minor)
Olaf (minor)
Olaf (minor)
Olaf (minor)
Olaf (minor)
Olaf (minor)
E-ric (minor)
TrevFixed syntax highlighting; removed categories included in template (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.