Confusion over passing by reference vs passing by value
#5
Quote:Ah, very good. I wasn't aware that there was a difference between how the strings and numerical variables were handled in this regard.

FWIW I think that Steve and I have different opinions on this Tongue They're intended to all work the same, as they did in QB45 (there's a reason the Wiki doesn't say anything about strings and stuff working differently Big Grin). But that said it seems that after some investigation QB64 has significant problems regarding pass by value behavior for anything not "simple" like integers. I think it should be a bug considered for fixing, but either way it's probably best to avoid it for now.
Reply


Messages In This Thread
RE: Confusion over passing by reference vs passing by value - by DSMan195276 - 06-17-2022, 02:21 PM



Users browsing this thread: 4 Guest(s)