contents.gifprev1.gifnext1.gif

LINE_END

Description:

LINE_BEGIN returns a pattern that matches the end-of-line condition. LINE_END is a keyword, not a built-in procedure. However, it is used like a built-in to construct patterns.

Syntax:

pattern := LINE_END

Example:

The following procedure moves the active editing position to the end of the line, unless you are already there:

PROCEDURE user_end_of_line

eol$pattern := LINE_END;

eol$range := SEARCH (eol$pattern, FORWARD);

IF eol$range <> 0

THEN

POSITION (eol$range);

ENDIF;

ENDPROCEDURE;

Related Builtins:

END_OF

LINE_BEGIN