0

私は Delphi Prism を学習していますが、それを使用して次のコードを記述する方法がわかりません。

type
  TRapportItem = record
   Label : String;
   Value : Int16;
   AnomalieComment : String;
  end;

type 
  TRapportCategorie = record
    Label : String;
    CategoriesItems : Array of TRapportItem;
  end;

type 
  TRapportContent = record
    Categories : array of TRapportCategorie;
  end;

次に、どこかで、アイテムを配列に入れようとします:

rapport.Categories[i].Label:=l.Item(i).InnerText;

しかし、それはうまくいきません..誰かが私を啓発できますか?

ありがとう!

4

1 に答える 1