Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Another issue: Changing one variable instantly changes the value of another variable
#7
Steve, it seems that you were correct. Creating a temporary variable did the trick, although I would love to know where the problem was originating from.

For now, I'll take the win, but I may eventually try to figure out the source of the problem. It's not going to be easy because the flow of the code in this particular are calls a subroutine, which then in turn calls another subroutine, which then finally calls a third subroutine. Following the variables through all those levels may be a little tricky.

In any case, thanks for the idea. I've now modified several of my subroutines to put temp variables in place and hopefully avoid other similar situations.
Reply


Messages In This Thread
RE: Another issue: Changing one variable instantly changes the value of another variable - by hanness - 06-17-2022, 06:14 AM



Users browsing this thread: 2 Guest(s)