Welcome, Guest. Please login or register.

Author Topic: Using "skip lab back" in scripts  (Read 3053 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Using "skip lab back" in scripts
« on: December 19, 2010, 04:16:19 PM »
Quote from: motorollin;599950
it just gives an error saying "object not found. skip failed returncode 10". Any ideas?
It is a limitation of label + skip in conjucation of executing external scripts.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Using "skip lab back" in scripts
« Reply #1 on: December 19, 2010, 07:40:17 PM »
Quote from: motorollin;599962
Ahh ok, so does calling an external script wipe out the labels in the script that called it?
Execute from a script creates a temporary script file in T: which includes the script executed with rest of the original script appended. Thus you cannot 'skip back' to labels that reside before the execute command.

A
execute B
C

You can't reach A from C after the execute command (because the temporary script created only includes contents of B and C).
« Last Edit: December 19, 2010, 07:44:13 PM by Piru »