_pwbnextfile

Key

Unassigned

Menu

File menu, Next command

The _pwbnextfile macro moves to the next file in the list of files specified on the PWB command line. If no more files remain in the list, this macro ends the PWB session.

When the Newwindow switch is set to yes, or the active window is a PWB window, a new window is opened for the file. Otherwise, the file is opened in the active window, and the previous file is placed in the window's file history.

Definition

_pwbnextfile := cancel exit <

Cancel

Establishes a uniform “ground state” by canceling any selection or argument.

Exit

Moves to the next file specified on the command line.

<

Restores the function's prompt (if any). By default, function prompts are suppressed while a macro is running.

See

Exit, Askexit, Cancel, PWB Command Line