Working example of Array Settings (kind of)

I struggled more than an hour to get the "Array Settings" work. The documentation and the example in https://developer.garmin.com/connect-iq/core-topics/properties-and-app-settings/ are missing some info, and have bugs, and the compiler also have some bugs. So I opened a bug report, where you can also find the last example that kind of works:

https://forums.garmin.com/developer/connect-iq/i/bug-reports/confusion-and-bugs-in-array-settings

Please also add your own thoughts / things that are missing from the docs or are not clear / bugs in the comments of the bug report.