mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 12:07:58 +02:00
14 lines
200 B
ObjectPascal
14 lines
200 B
ObjectPascal
{$mode delphi}
|
|
|
|
type mytype=array[1..2] of string;
|
|
const myconst:mytype=('foo','bar');
|
|
|
|
procedure myproc(myparam:mytype);
|
|
begin
|
|
writeln(myparam[1],' ',myparam[2]);
|
|
end;
|
|
|
|
begin
|
|
myproc(myconst);
|
|
end.
|