Sign in Join
Wiki copytemporary

UInt64/fr: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: UInt64/fr

OldNewLine
1+Plage de valeurs: 0 .. 18 446 744 073 709 551 615\
2+Occupation en mémoire : 8 octets soit 64 Bits\
3+Propriété: Un [[Data field/fr|champ de donnée]] de [[Data type/fr|type de donnée]] **UInt64** ne peut recevoir que des valeurs entières positives de la plage indiquée.\
4+Tout autre valeur conduit à une erreur de compilation, le programme ne sera donc pas créé.\
5+Déclaration d'un champ de donnée de type UInt64 :
6+
7+``` pascal
8+ Var
9+ ui64: uint64;
10+```
11+
12+Exemple d'affectations correctes :
13+
14+``` pascal
15+ ui64 := 0;
16+ ui64 := 18446744073709551615;
17+```
18+
19+Exemple d'affectations incorrectes :
20+
21+``` pascal
22+ ui64 := '0';
23+ ui64 := '18446744073709551615';
24+```
25+
26+Ces deux derniers exemples tentent d'affecter des valeurs littérales non entières (string) qui demandent une conversion explicite.\
27+
28+---
29+*From the Free Pascal wiki, page "UInt64/fr", as it stood on 2020-01-24 after a change by Bart, 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](/wiki-contact).*

Back to history