Pascal error with array

Posted by Donator on Stack Overflow See other posts from Stack Overflow or by Donator
Published on 2010-05-16T16:05:22Z Indexed on 2010/05/16 16:10 UTC
Read the original article Hit count: 337

Filed under:
|

program s;
      type info = record
                   name, surname: string;
                   min, sec: integer;
      end;
      arrays = array[2..50] of info;

      var A: arrays;
begin
      A[1].name := 'name';
end.

What is wrong with that? It gives me range check error and I have no idea what is that.

© Stack Overflow or respective owner

Related posts about pascal

Related posts about array