Hi!
Just forgot one parameter in copy (DyArray, ... ) and found this in the doc:
In Delphi mode, the Count argument can be omitted. In that case, the string (or dynamic array) is copied from the position Index till the end of the string or array.
For DynArrays this is also true for {$mode objfpc} but nowhere documented.
With DynArray I also can do a complete copy:
DynArrayCopy := copy (DynArray);
This is documented nowhere.
Talking about fpc 3.04
And the documentation:
Pressing F1 on copy then nothing happens - like with all the other system functions.
Pressing Alt + CursorUp then nothing happens - like with all the other system functions.
At least there should be a message, how or where to look.
Winni