Display name of current (working) H2O frame

Syntax

    _h2oframe _pwf

Description

_h2oframe _pwf displays the name of the current H2O frame, also known as the working H2O frame.

Example

 Display current H2O frame
     . sysuse auto
     . _h2oframe _put, into(auto)
     . _h2oframe _change auto
     . _h2oframe _pwf

Stored results

 _h2oframe _pwf stores the following in r():

 Macro
   r(currentframe)     name of current (working) H2O frame