Can you give an example of a "typed dynamic array declared as const" whose elements can be modified ?. I doubt the compiler is going to allow modifying the elements of an array that has been declared as const parameter to some function/procedure.
I actually just did! You are really useless today, aren't you?
Quote from: Thaddy on August 18, 2019, 06:09:23 pmI actually just did! You are really useless today, aren't you? That thing you call an "example" doesn't even compile therefore it is like you, eternally useless.
It requires FPC 3.2 or newer, because of the initialization of a and b.