03-13-2021, 10:48 AM
Hi Boriel,
Thanks. That example makes things very clear. I think, in practice, using --explicit is a good idea to avoid most unexpected consequences. It is still important to watch out for previously defined values being picked up by subroutines, as in test2(). I guess putting function and subroutine definitions before the main program avoids that risk.
Sadly, I'm seeing an issue using --explicit with the print42 library, as I'll explain in a new thread.
Thanks again,
Thanks. That example makes things very clear. I think, in practice, using --explicit is a good idea to avoid most unexpected consequences. It is still important to watch out for previously defined values being picked up by subroutines, as in test2(). I guess putting function and subroutine definitions before the main program avoids that risk.
Sadly, I'm seeing an issue using --explicit with the print42 library, as I'll explain in a new thread.
Thanks again,