• Find Unused variables scope limited to current subroutine.

    By charles a ross 1 decade ago

    This was my primary use case.

    Maintaining large agents (and webservices) with a lot of global variables declared in Declarations. There are many subroutines that use most of these variables. Let's see which ones are unused.

    Expected: SS will show me several orphan variables that I can eliminate. Hoping for 10 or so...

    Actual: 99% of the variables (a hundred or more) in DECLARATIONS show as unused. I can manually verify that this is not the case.