HPlogo EDIT/3000 Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 2 OPERATING EDIT/3000

2-8. ENTERING EDIT/3000 COMMANDS

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

";" To use more than one command in an EDIT/3000 command record, follow each command (except the last one) with a semicolon, as follows:

   ADD;LIST ALL;END

EDIT/3000 will execute the commands in the order in which they are given.

"&" To continue a command or text entry from one record to the following record, use an ampersand (&) as the last character in the record to be continued.

Examples are shown in Figure 2-5 “Using ; and & When Entering EDIT/3000 Commands.”.

NOTE: If it is desired that the & be the last character in a record, instead of being interpreted as a continuation character, enter a blank character after the & (and before pressing RETURN in a session.)

The maximum length for a command string is 256 characters.

A comment may be added as part of a command string, but it may not be embedded in the command. It may appear before a command or follow it after a semicolon. A comment must begin with two adjacent less-than signs (<<) and end with two adjacent greater-than signs (>>). For example,

        /FIND FIRST;<< MOVE POINTER TO BEGINNING OF FILE.>>



                  LINE 1

                  ^ (1)

        /

Figure 2-5 Using ; and & When Entering EDIT/3000 Commands.

   :EDITOR



   HP32201A.7.08 EDIT/3000 TUE, JUN 3, 1980, 11:28 AM

   (C) HEWLETT-PACKARD CO. 1980

   /ADD;LIST ALL;&

   / END

        1     THIS LINE AND THE NEXT LINE &

   ARE BOTH PART OF RECORD 1

        2     THIS IS RECORD 2

        3     //

   ...

        1     THIS LINE AND THE NEXT LINE ARE BOTH PART OF RECORD 1

        2     THIS IS RECORD 2

   IF IT IS OK TO CLEAR RESPOND "YES"

   CLEAR?  YES



     END OF SUBSYSTEM
Feedback to webmaster