08-09-2024, 11:21 PM
Quote:A Sub or Procedure cannot change variables unless they are declared as Shared in the main program. Or did you mean something else?
- If a subroutine is generic enough that I might use it in some other program, or if I don't want to risk a subroutine modifying global variables, or if the subroutine is for a recursive process, I'll be setting up a SUB subroutine