SRT-END names in documentation

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

SRT-END names in documentation

Post by Bob Hansen » Thu Oct 17, 2002 9:27 pm

:? Looking at the new commands in Version 7.0 I see that the examples for GoSub, SRT, and END all show the same example. But it looks like the examples have a typo?

:?: Shouldn't the End name match the SRT name? In the example for SRT>EnterName the name with SRT> is "EnterName" but the name with End> is "EnterDetails"
================================
:arrow: Example from the built in commands:

SRT>FocusApp
SetFocus>Data Entry Screen
End>FocusApp

SRT>EnterName
Gosub>FocusApp
Send>Firstname
Press Tab
Send>Surname
Press Enter
End>EnterDetails

===================================
Just thought I would point out the difference. :?: Can you confirm that both names should be the same, like the SRT>FocusApp?

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Oct 17, 2002 11:39 pm

You are absolutely correct - the name should be the same so that it knows it is ending the same subroutine. Thanks for spotting the error. The documentation will be updated (watch out for the next maintenence release!).

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