Control Structure RETURN

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Option_Explicit
    Forum Member
    • Oct 2002
    • 54

    Control Structure RETURN

    I just want to confirm this, Using RETURN in the code,
    On various statements, mostly where stuff will happen to a certain point, or even after the ELSE, and you wish to exit the conditional block, I was always adding a LABEL somewhere at the end of the statement and dead ending the Condition when I wanted out.
    Does RETURN also do this? and I was just missing out this the whole time?
  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Re: Control Structure RETURN

    From the docs:

    RETURN: Exits out of the current action list.

    When this action is performed, any subsequent actions "below" it in the action list are ignored, and processing of the action list stops. In effect, this action exits or "returns" from the action list.

    As seen at http://www.autoplaystudio.com/webhel...ure.RETURN.htm

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment

    Working...
    X