AronGahagan / cpt-dev

Code repository for the ClearPlan Toolbar
https://www.ClearPlanConsulting.com
3 stars 1 forks source link

only query cptErrorTrapping once per routine #415

Open AronGahagan opened 4 weeks ago

AronGahagan commented 4 weeks ago

Problem:

  1. The idiot who coded this crap keeps pinging the cptErrorTrapping function which will not change over the course of running a subroutine.
  2. Same goes for cptDir.

Solution:

  1. Set blnErrorTrapping = cptErrorTrapping once at the start and just use that.
  2. Set 'strCptDir = cptDir` once at the start and just use that.

Todo: