DELETE [ HPTOOLSET XL Reference Manual ] MPE/iX 5.0 Documentation
HPTOOLSET XL Reference Manual
DELETE
Deletes text from an edit file. Can be reversed with the UNDO command.
Syntax
D[ELETE] [character rangelist] [Q[UIET]]
Parameters
Character Defines the range(s) of characters or lines to be
Rangelist deleted from the current edit file. If no character
rangelist is given, the current line will be deleted.
Character Rangelist has the form
Char Range [, char range] ...
where
char range = line #[(column #)] [/line#[(column #)]] or
ALL, and where line # can be n, F[IRST], L[AST], *, or
an expression involving any of these and a plus sign (+)
or a minus sign (-). The * means the current line. For
example, L - 10/L would print the last 11 lines of the
file; * + 5/20, if the current line is 3, would print
lines 9 through 20.
QUIET Suppresses output to $STDLIST.
Description
There is no Delete function key. However, the DELETE LINE or DELETE CHAR
key on your terminal keyboard can be used to delete a line or character
while you are in visual mode.
Example
>>DELETE 300/330
300
301 type
307 mpefile =
308 record
309 data : packed array[1..72] of char;
310 line_no : packed array[1..8] of '+'..'9'
311 end;
312
320 srproc =
321 record
322 sr
323 procedure_name : packed array[1..30] of ' '..'Z'
324 end;
325
>>
>>D 105
105 lab_class = packed array[1..2] of ' '..'Z'
>>
>>DEL 20.5(4)/22.3(5),200.1/203.1
20.5 TYP
20.6 lab_class = packed array[1..2] of ' '..'Z';
20.7
20.8 sr = integer;
20.9
21 stars = packed array[1..2] of ' '..'Z';
21.06
21.99
22 fix_by = packed array[1..8] of ' '..'Z';
22.01
22.02 fix_version = packed array[1..8] of
22.03
22.1 srproc =
22.3 record
201 (*Initialize*)
202 Sr:=0;
203
>>
MPE/iX 5.0 Documentation