while going through delphi tutorial i came accross a code snippet that i am having problems understanding,i am writing the problems as comments in the code
[code] procedure MakeZero(var Arr: Array of Double)
(* in pascal array declaration was like this arr : array [1..50] of integer they wrote array of double but didnt specify where to where (i mean like 1..50)*)
for i:= Low(Arr) to High(Arr) + 1 do Arr[i] := 0;
(*what is this low(arr) and high(arr)and why did they add +1 looping can be done as say like for i:=1 to 10 do we dont write i:=1 to 10 +1*)
sorry for asking basic questions i am a self taught so i am having alot of problems
i am curruntly studying about.com's tutorial if anyone else learned delphi online can you tell me which tutorial is better?
thanks in advance!