Error - Subroutine/Label not found

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Taz348
Newbie
Posts: 2
Joined: Fri Oct 05, 2007 4:24 pm

Error - Subroutine/Label not found

Post by Taz348 » Fri Oct 05, 2007 4:29 pm

Hi,

I'm starting to lose my mind with this error as I just can't figure it out.
This code:

[code]
Let>Bounce_Code=2

IF>{(%Bounce_Code%=2) OR (%Bounce_Code%=22) OR (%Bounce_Code%=50)}, Goto>SC

Goto>CancelImmediate

Label>SC
[/code]

Returns an error: Error Subroutine/Label Goto>SC Not found!

Does anyone have any suggestions please?

Taz348
Newbie
Posts: 2
Joined: Fri Oct 05, 2007 4:24 pm

Problem solved

Post by Taz348 » Fri Oct 05, 2007 4:32 pm

I found my mistake.

Thanks.

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Fri Oct 05, 2007 4:45 pm

Its good that you found your mistake. For all the future generations of Macro Scheduler users it would be nice to elaborate on the resolution.

It appears to me that you tried to apply more than one Macro Scheduler function on one line. So the fix would be to remove the " Goto>" from the end of the complex if line.
Something like:

Code: Select all

Let>Bounce_Code=2

IF>{(%Bounce_Code%=2) OR (%Bounce_Code%=22) OR (%Bounce_Code%=50)},SC

Goto>CancelImmediate

Label>SC 

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