RW_RETURN Subroutine

A subroutine supplied as part of the RealWeb package can be used to set the document returned from a RESTful subroutine.

Syntax

CALL RW_RETURN(document)

Syntax Elements

document

Document to be returned to caller.

RW_RETURN provides an alternative mechanism to return content to the caller. Either RW_RETURN should be called, or the annotation @RETURN should be used to nominate a parameter to pass data back to the caller.