I have the following piece of code which throws up the error 'Missing operator or semicolon'. The cursor is placed at the start of the 'ExArray' within the brackets.
Any ideas?
var
ExArray: array[1..100] of double;
i: integer;
begin
Randomize;
for i:=1 to 100 do
begin
ExArray:=(Random-Random)*100;
end;
Mean(ExArray);
Any ideas?
var
ExArray: array[1..100] of double;
i: integer;
begin
Randomize;
for i:=1 to 100 do
begin
ExArray:=(Random-Random)*100;
end;
Mean(ExArray);