Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

FYI on Duplicate Functions in a VBScript

SCENARIO:

  Sometimes when one create a (custom) function.. one is taking a copy of an existing function and making a mod or two. If by chance you do not either:

   1 - Comment out the original

   2 - Change the name of the original

and you end up with a duplicate (name) in a script - the 2nd (or last) physical one is the one that always executes.

 

I ran into a piece of work I did not create and found the duplicates - fortunately  the 2nd one was the one that we really wanted to execute. 

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html