fpc/tests/webtbs/tw33230.pp
2018-02-27 21:08:07 +00:00

16 lines
304 B
ObjectPascal

{$mode objfpc}
program Project1;
uses variants;
function CreateVarArray( const Bounds: array of SizeInt;
const VarType: integer ): variant;
var
Dim01: array [0..1] of SizeInt absolute Bounds;
begin
Result := VarArrayCreate( Dim01, varType );
end;
begin
end.