Label Not Found Error Message
Moderators: JRL, Dorian (MJT support)
Label Not Found Error Message
I keep getting Error - Label xxxx not found! when running my script in debug mode from the editor. The Label is definitely there and I do not get the error when just running the script from the scheduler. Anyone know how to get rid of these messages?
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
I suspect you are suffering from Trailing Spaces. The compiler considers those spaces as real characters, so you must be sure to remove them or include them in all references. Most times it is desired to remove them.
In the Editor, click on Edit, Show All Chars, and use Edit, Remove Trailing Spaces. Save the script.
If you create and look at a Log file, you will probably see that the label is not read properly when you run from the scheduler either. But it does not generate a message, it just continues processing.
In the Editor, click on Edit, Show All Chars, and use Edit, Remove Trailing Spaces. Save the script.
If you create and look at a Log file, you will probably see that the label is not read properly when you run from the scheduler either. But it does not generate a message, it just continues processing.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
We may be able to help more if you provide sample of the script. And point out the specific problem you are having and the section of code where you think the problem is.
A sample from a log file might also be helpful.
A sample from a log file might also be helpful.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!