procedure call

  • i have a procedure which execute another procedure . if callable procedure has a 'return' value and if it returns will it come out of whole procedure and from that specific procedure only?..

    for ex.

    procedure base_procedure

    {

    exec call_procedure

    command-1

    }

    call_procedure

    {

    return

    }

    will command-1 be executed after return from call_procedure?

    any suggestion pls?

  • RETURN exits from current procedure and doesn't affect callers.

    command-1 will be executed.

    -- Gianluca Sartori

  • thanks a lot!!!!!!!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply