voila je veut creer une classe toute bete avec un object Champ et donc ba je fais comme dans les manuelle sauf que ba sa marche pas :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 unit Champs; interface uses Analyseur; type TChamp = class private CType:Integer; CData:String; CLong:Integer; public constructor TChamp.Create(T:Integer;D:String;L:Integer); destructor TChamp.Destroy; protected published end; implementation constructor TChamp.Create(T:Integer;D:String;L:Integer); begin CType:=T; // le probleme ce situe ici il me dis Undeclare identifieur CType end; // le meme probleme pour T end.
Partager