SRT Issue with v14.3.03 on Win10 Pro (64-bit)

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
dtaylor
Junior Coder
Posts: 47
Joined: Mon Aug 08, 2016 2:42 am

SRT Issue with v14.3.03 on Win10 Pro (64-bit)

Post by dtaylor » Sun Sep 18, 2016 7:46 am

Since updating to Macro Scheduler to v14.3.03, I'm having a strange issue with subroutines. I am running Windows 10 Pro (64-bit).

When I run the code below, the MAIN Box 2 message is never displayed.
Instead, MAIN Box 1 is displayed followed by SUB Box and then back to MAIN Box 1. This continues as an endless loop.

It appears that the script returns to the line before the Gosub instead returning to the line following the Gosub.

Video of SRT Issue

Code: Select all

MessageModal>MAIN Box 1
GoSub>testsub
MessageModal>MAIN Box 2 (NEVER EXECUTES!)
Exit>0

SRT>testsub
  MessageModal>SUB Box
END>testsub

User avatar
Djek
Pro Scripter
Posts: 148
Joined: Sat Feb 05, 2005 11:35 pm
Location: Holland
Contact:

Re: SRT Issue with v14.3.03 on Win10 Pro (64-bit)

Post by Djek » Mon Sep 19, 2016 7:59 am

hi,

i ve tested over here with version 14.2.09

and it works perfect, it shows the "MessageModal>MAIN Box 2 (NEVER EXECUTES!)"
as it should do.

Think Marcus must take a look, this is strange.

kind regards
Djek

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Re: SRT Issue with v14.3.03 on Win10 Pro (64-bit)

Post by armsys » Mon Sep 19, 2016 8:15 am

I confirm the same anomaly occurring here.
All my scripts running for years without a glitch suddenly fail on v14.3.03.
***
@dtaylor, running debugger step by step, you'll see the weird unexpected behavior after exiting your subroutine testsub.

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Re: SRT Issue with v14.3.03 on Win10 Pro (64-bit)

Post by armsys » Mon Sep 19, 2016 10:04 am

Hi Dtaylor,
The "latest version", 14.3.02, appears to resolve the above-mentioned anomaly.

dtaylor
Junior Coder
Posts: 47
Joined: Mon Aug 08, 2016 2:42 am

Re: SRT Issue with v14.3.03 on Win10 Pro (64-bit)

Post by dtaylor » Mon Sep 19, 2016 3:10 pm

@armsys
I think you meant the latest "v14.3.04" solves the issue, but you are also right that the issue was not present in the previous version 14.3.02. :D

@Marcus
Thanks for the quick fix!

Is there a way to download previous licensed versions? I downloaded and installed the 14.3.03 version on Friday (which broke the subroutine functionality) and was unable to write/test scripts all week-end until you posted the fix update on Monday.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts