Confusion over passing by reference vs passing by value
#3
This is expected as strings are *always* passed by offsets. The solution is as you have found -- assign to a temp variable and don't modify the original. Wink
Reply


Messages In This Thread
RE: Confusion over passing by reference vs passing by value - by SMcNeill - 06-17-2022, 03:07 AM



Users browsing this thread: 3 Guest(s)