open array bounds



open array bounds
Smart pascal source code
procedure test(const a: array of const); begin WriteLn(a.low); WriteLn(Low(a)); WriteLn(a.Length); WriteLn(Length(a)); WriteLn(a.High); WriteLn(High(a)); end; test([]); test([1]); test(['one', 'two']); {<<< RESULT - CONSOLE LOG >>> ----------------------------- Errors >>>> Hint: "low" does not match case of declaration ("Low") [line: 3, column: 12] Result >>>> 0 0 0 0 -1 -1 0 0 1 1 0 0 0 0 2 2 1 1 ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}