Return Command

Description:

This command returns control from a called subroutine to the instruction following the call to that subroutine.

Format:

RETURN;

Example:

subroutine MySubroutine()
    log "Begin MySubroutine";
    // Exit from subroutine
    Return;
    log "End MySubroutine";
endsubroutine

BEGIN

Log "Before Call subroutine";
Call MySubroutine();
Log "After Call subroutine";

Output File:

Before Call subroutine
Begin MySubroutine
After Call subroutine





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap