byref question

Yes
If you turn on the debuggers “Show object ID’s” you would see that in the caller the first example I posted that passes by ref gets a NEW object ID (it’s an entirely new array)
The second alters the original arrays CONTENTS but does not replace the array itself (its the same object ID)

Oops. my apologies.

I’m always learning more each day!