Sign in Join
Wiki copytemporary

Longword/fr

Deutsch · English · Français · Русский

Plage de valeurs : 0 .. 4 294 967 295

Occupation en mémoire : 4 octets soit 32 Bit

Propriété: Un champ de donnée de type de donnée Longword 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 Longword :

pascal
 Var 
   lw: Longword;

Exemple d'affectations correctes :

pascal
   lw := 0;
   lw := 255;
   lw := 65535;
   lw := 4294967295;

Exemple d'affectations incorrectes :

pascal
   lw := '0';
   lw := '255';
   lw := '65535';
   lw := '4294967295';

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 "Longword/fr", as it stood on 2020-02-19 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 2 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
TrevFixed syntax highlighting (minor)

Talk about this page

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