%C
|
This terminal command is used to copy the contents of the page buffer to the next available lines in the Natural source work area.
The page currently displayed by Natural will be copied into the Natural source work area. The page content will be written to the next free location in the source work area, where it can be modified using the Natural program editor.
To clear the source work area before copying the page, the
%Z
terminal
command may be used.
Notes:
%C
should not be used in an editor
session. Modifications made to the source area outside of editor content are
not recognized by the editor.
Example:
DEFINE DATA LOCAL 1 I (I2) END-DEFINE FOR I = 1 TO 10 WRITE I SET CONTROL 'C' END-FOR END