if you make one function like this for any kind of array...
function ItemArray(const aArray:array of integer;id:integer):integer; // or any other...
begin
Result:=aArray[id];
end;
//when you want to use then
value:=ItemArray([1,2,4,5,6],4); or any value;
or even you can make
function...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.