mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 04:48:07 +02:00
20 lines
206 B
ObjectPascal
20 lines
206 B
ObjectPascal
{ %fail }
|
|
|
|
program arrayrangeoperator;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
uses
|
|
Classes, SysUtils;
|
|
|
|
type
|
|
TArrayOfInteger = array of integer;
|
|
var
|
|
a, b: TArrayOfInteger;
|
|
begin
|
|
SetLength(a,10);
|
|
b:=a[2..4];
|
|
end.
|
|
|
|
|