mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:28:28 +02:00
17 lines
370 B
ObjectPascal
17 lines
370 B
ObjectPascal
{$mode objfpc}
|
|
|
|
var myarray : array ['a'..'z'] of integer; //operator is not overloaded 'char' - 'char'
|
|
//var myarray : array ['a'..'zz'] of integer; //signal 291
|
|
//var myarray : array ['a'..'z'*5] of integer; //signal 291
|
|
|
|
|
|
procedure myproc (myarray: array of integer);
|
|
begin
|
|
if high(myarray)<>25 then
|
|
halt(1);
|
|
end;
|
|
|
|
begin
|
|
myproc(myarray);
|
|
end.
|