TDoubleList.Floats

redirigé depuis TDoubleList.SetFloat

TDoubleList = class (TObject)Interface de TDoubleListExemples de TDoubleList

Accès indexé aux éléments de la liste

Syntaxe

property Floats[idx: Integer]: Float read GetFloat write SetFloat; default;
idx: index

Remarques

Les index vont de zero à Count-1.

Exemples

var dl := new TDoubleList;
dl.Add(1);
PrintLn(dl[0]); // 1
dl[0] := 2;
PrintLn(dl[0]); // 2

Classification

SysUtils TDoubleList