Difference between revisions of "String/fr"

From Free Pascal wiki
Jump to navigationJump to search
(New page: {{String}} Type which may contain phrases. The length is decided by the programmer and should be, in Standard Pascal,from 1 to 255 characters. The length of an AnsiString is only ...)
 
(traduction)
Line 1: Line 1:
 
{{String}}
 
{{String}}
  
[[Type]] which may contain phrases. The length is decided by the programmer and should be, in [[Standard Pascal]],from 1 to 255 characters. The length of an AnsiString is only limited by available memory.
+
[[Type]] correspondant à une chaîne de caractères, dont la longueur peut varier en [[Standard Pascal|Pascal standard]] (ShortString) au choix du programmeur entre 1 et 255 caractères.
 +
 
 +
En utilisant {$H} sous la forme {$H+}, string correspond à une chaîne (AnsiString) dont la longueur ne dépend que de la place disponible en mémoire.
 +
 
 +
Il y aura possiblement dans le futur un moyen d’utiliser les caractère Unicode (UTF 8 ou 16).
  
 
{{Data types/fr}}
 
{{Data types/fr}}
  
 
[[category:Pascal]]
 
[[category:Pascal]]

Revision as of 22:41, 2 May 2012

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

Type correspondant à une chaîne de caractères, dont la longueur peut varier en Pascal standard (ShortString) au choix du programmeur entre 1 et 255 caractères.

En utilisant {$H} sous la forme {$H+}, string correspond à une chaîne (AnsiString) dont la longueur ne dépend que de la place disponible en mémoire.

Il y aura possiblement dans le futur un moyen d’utiliser les caractère Unicode (UTF 8 ou 16).

Types de données
Types de données simples Boolean | Byte |Cardinal | Char | Currency | Extended | Int64 | Integer | Longint | Pointer | Real | Shortint | Smallint | Word
Types de données complexes Array | Class | Record | Set | String | ShortString