Thank you kll. You understood correctly and, answered my question on how to pass arrays. Your example passes the array as a reference. The tutorials on arrays or objects doesn’t cover passing arrays as arguments. However your example does. It is worth noting that one must be careful about editing passed arrays, because that edit actually edits the original array.
Thanks