contents.gifprev1.gifnext1.gif

REMAIN

Returns a pattern matching any string that starts at the current character position and continues to the end of the current line. The pattern returned does not cross line boundaries.

Syntax:

pattern := REMAIN

Example:

PATTERN$RUNOFF := LINE_BEGIN + "." + REMAIN;

Stores in the variable PATTERN$RUNOFF a pattern matching all lines that have a period at the beginning of the line (such as RUNOFF commands).