HP Business BASIC/XL Reference Manual - HP 3000 MPE/iX Computer Systems - Edition 1 (32715-90001)

2-: 14
If a modified line is too long, the MODIFY command displays the
following:
* The line, except characters beyond the maximum line length.
* An asterisk (*) in the last column (the asterisk is character 500).
To cancel modifications on a line, type "//" or CONTROL Y. The original
line will be displayed for modification.
To stop the MODIFY command, type "//" or CONTROL Y before modifying the
currently displayed line, or type "//" or CONTROL Y immediately followed
by "//" or CONTROL Y.
Examples
The following examples show the use of the MODIFY command. Lines 30,40,
50, and lines 100 through 180 are modified. "//" is used to cancel the
modification of line 150.
>LIST
10 REM 5/21/84
20 PRINT "BEGIN"
30 SHORT INTEGER A,B
40 SHORT INTEGER C,D
50 INTEGER E,F,G,H,I
60 READ A,B
70 READ C,D
80 READ E,F
90 DATA 1,2,3,4,5,6,7,8,9
100 PRINT "A,B,E,F"
110 PRINT A,B,E,F
120 PRINT G,H,I
130 PRINT A,B,H,I
140 PRINT I,H,G,A,B,C
150 PRINT E,F,G,H
160 PRINT F,A,B,C,D,E
170 PRINT
180 PRINT "END"
999 END
>
MODIFY 30/50,100/180
30 SHORT INTEGER A,B
DDDDDD RETURN
30 INTEGER A,B
RETURN
40 SHORT INTEGER C,D
D D RETURN
40 INTEGER C,D
RETURN
50 INTEGER E,F,G,H,I
DE RETURN
50 INTEGER E,F