Sign in Join
Wiki copytemporary

QWord/fr

Deutsch · English · Français

Plage de valeurs : 0 .. 18 446 744 073 709 551 615

Occupation en mémoire : 8 octets, soit 64 Bits

Propriété : Un champ de donnée de type de donnée Qword ne peut recevoir que des valeurs entières positives de la plage indiquée.

Tout autre valeur conduit à une erreur de compilation : le programme ne sera donc pas créé.

Déclaration d'un champ de donnée de type Qword :

pascal
 Var 
   qw: Qword;

Exemples d'affectations correctes :

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

Exemples d'affectations incorrectes :

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

Ces derniers exemples tentent d'affecter des valeurs littérales non entières (String) qui demandent une conversion explicite.


From the Free Pascal wiki, page "QWord/fr", 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 3 people, 2016–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
E-ricCreated page
E-ric (minor)
Gillou58
TrevFixed syntax highlighting (minor)

Talk about this page

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