This function is used in conjunction with the S command. The "S" command saves a line of text and "L" LOADs that text back. The saved text is loaded into the screen starting at the current cursor position and overwriting everything on the current line from the current column position to the end of the line. After entering "L", the user is prompted for LOAD options. The actual format of the entry at this point is as follows:-

{ Load option letter } , { Load name }

Both { Load option letter } and { Load name } are optional. The load name will be the name of the record that will contain the saved text. If no load name is specified then the text currently held in the run time buffer is used for the load. Note that hitting the EXIT key will abort the LOAD process.

LOAD option letter takes the following values:-

A (PPEND)

This is used to append the saved text to the line on which the cursor is currently positioned. The appending commences at the character at which the cursor is positioned.

Note that everything from the cursor position to the end of the line disappears.

This is the default option for saved text of only 1 line.

C (LEAR)

This is used in conjunction with a load name. This function will allow the user to CLEAR the item from the list of saved text. The item cleared will be that with an ID equal to the load name.

D (ISPLAY)

This will produce a listing of those text items that have been saved to file. It displays the first 60 characters of each line saved within the item.

I (NSERT)

This command is used to insert the text into the current screen. The way this is done depends on whether there is only 1 line of text to insert or more.

If only one line of text is to be inserted then it is inserted into the line at the character position on which the cursor sits. The new text is appended to the text before this position and then the original text to the right of the cursor position is appended to the inserted text. If the new line is greater than 80 characters in length it is truncated to 80 characters.

If the text is more than one line in length, then the text is inserted line by line into the screen starting at the current cursor position. Any lines from this position and below are shuffled down. If this results in more than 23 lines of display then line 24 and subsequent lines are removed.

O (VERLAY)

This command is used to overlay the text onto the current screen. The way this is done depends on whether there is only 1 line of text to overlay or more.

If only one line of text is to be overlaid then it is overlaid onto the line starting at the character on which the cursor sits. The new text is appended to the text before this position. Any text that originally occupied these positions are lost. Any text to the left of the cursor which is not overlaid will remain as it was. If the new line is greater than 80 characters in length it is truncated to 80 characters.

If the text is more than one line in length, then the text is overlaid line by line into the screen starting with the line on which the cursor is positioned. If as a result more than 23 lines be generated, the process stops as soon as the 23rd line is overlaid.

This is the default option for multi-lined load texts.