Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Apr 2001
    Nashville, TN USA

    Difference between \"treturn\", \"texit\" and \"return\"

    User Melissa Edwards (melissae@mdli.com.nospam) posted:


    Can anyone state the differences between "treturn", "texit", and "return"?

    Thanks! Much appreciative!


  2. #2

    Re: Difference between \"treturn\", \"texit\" and \"return\"

    User Lior Dekel (lior@dig-app.com.nospam) posted:

    Hi there,
    Have you tried the TSl On Line reference for this first...?
    return(); is used to return values from functions.
    treturn(); is used to return values to calling scripts
    texit; is used to break the run of a script.


    If it's working... don't touch it!

  3. #3

    Re: Difference between \"treturn\", \"texit\" and \"return\"

    User Wendy Richardson (rwendy@us.ibm.com.nospam) posted:

    A very easy way to find the difference between these (don't even
    need to crack that book open!) is to use the little icon on your winrunner
    window: It has an arrow and a questionmark. I don't know what it's
    don't feel like cracking the book myself to find out.

    Click on the icon. Immediatly after, click on the word in your script that
    you want to know more about. The help page, if available, should
    pop up, complete with a tab for examle of use. Great to use if
    you have simply forgotten the order of arguments, etc.


    Wendy Richardson
    Testing and Automation Tools
    919-543-3514 T/L 444-3514

    Melissa Edwards <melissae@mdli.com> on 10/17/2001 11:15:52 AM

    Please respond to winrunner@yahoogroups.com

    To: "'winrunner@yahoogroups.com'" <winrunner@yahoogroups.com>
    Subject: [winrunner] Difference between "treturn", "texit" and "return"

    Can anyone state the differences between "treturn", "texit", and "return"?

    Thanks!* Much appreciative!


  4. #4

    Re: Difference between \"treturn\", \"texit\" and \"return\"

    User (adunoor@hotmail.com.nospam) posted:

    treturn is usefull in batch tests with if and else condition.
    if this condition fail than next script will execute rather
    than stop script.
    texit is usefull in scrpts.
    if condition meet script will execute else script will exit and stop.
    retrun is return errornumbers or etc in variables
    Ex: return(rc);

    --- In winrunner@y..., "Wendy Richardson" <rwendy@u...> wrote:
    script that
    and "return"
    and "return"?
    address in



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 04:06 PM.

Copyright BetaSoft Inc.