Difference between revisions of "Longword/de"

From Lazarus wiki
Jump to navigationJump to search
Line 15: Line 15:
 
<syntaxhighlight>
 
<syntaxhighlight>
 
   c := 0;
 
   c := 0;
   c := 24;
+
   c := 255;
   c := 4294967295;  
+
  c := 65535;
 +
   c := 4294967295;
 
</syntaxhighlight>
 
</syntaxhighlight>
 
<br>
 
<br>
 
<br>
 
<br>

Revision as of 09:10, 18 August 2012

Deutsch (de) English (en) français (fr) русский (ru)

Wertebereich: 0 .. 4294967295
Speicherbedarf: 4 Byte oder 32 Bit
Eigenschaft: Ein Datenfeld vom Datentyp Longword 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 Longword:

 Var 
   c: Longword;

Beispiele für die Zuweisung gültiger Werte:

   c := 0;
   c := 255;
   c := 65535;
   c := 4294967295;