IndyUDIuser
Members
-
Joined
-
Last visited
Solutions
-
IndyUDIuser's post in INIT TO causing variable to be zeroed out was marked as the answerOK, I confess...
I found a line in one of my sub-programs (one I have not been paying attention to until now) that was setting iCurrentDayOfMonth to zero. I had accidentally used the wrong variable name in that program and didn't notice it until now. I corrected that and now all of the variables seem to be setting correctly. I added code to the beginning of the master program to initialize all variables to zeros before calling all the sub-programs (just so I can see this happening). I eliminated some of the waits, although I still wait 1 second between each sub-program call. So far so good.
I'll check this tomorrow to see if it is working in production as expected. FIngers crossed.