For better referencing, and not to be lost in the Q&A forum...
https://b4x.com/android/forum/threads/how-to-use-global-arrays-from-inline-c.68747/#post-436143
https://b4x.com/android/forum/threads/how-to-use-global-arrays-from-inline-c.68747/#post-436143