10-16-2024 01:28 PM
Is there a difference when passing object reference parameter by reference or by value? It seems to me that the behavior is the same.
10-17-2024 04:51 AM
Since you are not changing the reference itself, there is no difference IMHO
10-17-2024 05:12 AM
But what if it is a connection refnum and I do the reconnection with a new refnum in place?
10-21-2024 05:33 AM
@bienieck wrote:
But what if it is a connection refnum and I do the reconnection with a new refnum in place?
This should make the old ref invalid thus ByRef would be required IMHO. Yet.... If I understand you correctly, it didn't matter in your case, right?
Maybe your reconnect reuses the refnum?
Yet this is highly speculative from my side