The behavior of the
WPGM command depends on the setting of the Use Enhanced
Editor check box. The check box is available from the Edit tab
in the Preferences dialog box. If the Use
Enhanced Editor check box is selected and you issue
the WPGM command, the active window becomes the Enhanced
Editor window that was most recently edited. If the Use
Enhanced Editor check box is not selected, the active
window becomes the Program Editor.
Issuing the WPGM command repeatedly displays the open Enhanced Editor windows in the
order of the most recently edited window to the least recently edited.