Suggestion for a small improvement of the explanation of ARRAY OF CONST
Original Reporter info from Mantis: UlrichUlrich
-
Reporter name: Ulrich Eduard
Original Reporter info from Mantis: UlrichUlrich
- Reporter name: Ulrich Eduard
Description:
The explanation reads as follows:
This is a special case of the Open array construction, where it is allowed to pass any expression in an array to a function or procedure. The expression must have a simple result type: structures cannot be passed as an argument. This means that all ordinal, float or string types can be passed, as well as pointers, classes and interfaces.
It is stated that "structures cannot be passed" but it concluded that "classes" can be passed.
It would be very nice if there were a hint that classes are pointers.
Mantis conversion info:
- Mantis ID: 34154
- Version: 3.0.4
- Fixed in version: 3.3.1
- Fixed in revision: 1505 (#9db0e2ce)
- Target version: 3.2.0