La question est simple pourquoi ce code ne marche pas j'ai essayé avec:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 function Get_Field(Idx:Integer):Integer; procedure Set_Field(Idx:Integer;Value:Integer); public property Field[Idx:Integer=-1]:Integer read Get_Field write Set_Field;mais c'est la meme chose l'erreur pointe sur le mot write
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 function Get_Field(Idx:Integer=-1):Integer; procedure Set_Field(Idx:Integer=-1;Value:Integer=-1); public property Field[Idx:Integer=-1]:Integer read Get_Field write Set_Field;
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part [Erreur] : Types incompatibles
Partager