[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] Error while passing a constant array as open array
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] Error while passing a constant array as open array |
Date: |
Sun, 20 Sep 2009 18:58:09 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Martin Kalbfuß <address@hidden> writes:
> Hi,
>
> I maybe found a bug. I'm not sure.
>
> I have a type:
>
> Vector = ARRAY[0..2] OF REAL
>
> And a procedure:
>
> PROCEDURE ScalarMultiplication(Vector : ARRAY OF REAL; Scalar : REAL;
> VAR Result : ARRAY OF REAL);
>
> I can do:
>
> AVector := Vector{1.0, 2.0, 3.0};
> ScalarMultiplication(AVector, 5.0, Result);
>
> But not:
>
> ScalarMultiplication(Vector{1.0, 2.0, 3.0}, 5.0, Result);
Hi Martin,
ahh yes looks like a bug - thanks for the report!
regards,
Gaius