static and dynamic array messages prototype completed

Coded together with @dirk-thomas.