C'est la structure Record qui correspond à ta demande :
Type
TClient = record
nom : string[20];
prenom : string[15];
end;
var
Client : TClient;
May Delphi be with you-------------------------------
Réponse au message :
-------------------------------
> Je cherche comment déclarer un type ?
>
> du style:
>
> type client
> var nom
> prenom
>
> pour pouvoir l'utiliser après de cette façon:
>
> client.nom := ....
> client.prenom := ....
>
> merci d'avance !!