How delphi array initialization
how delphi array initialization
rosegirl09112 level Category: Other been accessed 44 times 2018.07.01 report
satisfactory answer

adoption rate: 42% 9 2018.07.02
I: Integer;
of arr1: Array [0..9] of Integer;
arr2 is: Array [0..9] of char;
the begin
// if initialization to each the initial value of the same element, this function may be used Fillchar
FillChar (of arr1, the sizeof (of arr1), 0);
FillChar (arr2 is, the sizeof (arr2 is), # 0);
// if different from the initial value to be assigned to each element, I can be assigned a one
for I: = 0. 9 to do
the begin
of arr1 [I]: = I;

Guess you like