For dyn. arrays as OUT paramter the function High (parameter) give -1 and not the correct dimension.
Original Reporter info from Mantis: Klaus1
-
Reporter name:
Original Reporter info from Mantis: Klaus1
- Reporter name:
Description:
For multi dimensional arrays as OUT parameter the function High give -1 as result and not the correct dimension.
Use a VAR parameter with High the result is correct. OUT parameter with explicit array of double give the correxct value.
But declare T1Dim = array of double -> High give -1.
You can test it with the console program Fehlertest.lpr.
The compiler give a warning for managed parameter (fill with zeros) but the array dimension must correct given in the
procedure.
.
Mantis conversion info:
- Mantis ID: 38378
- Version: 3.2.0