delete(3) — Unix Programmer’s Manual
NAME
delete - delete commands from an object
SYNOPSIS
C
delete(t, offst, count)
Tag t;
Offset offst;
short count;
FORTRAN
subroutine delete(t, offst, count)
integer t, offst
integer∗2 count
Pascal
procedure delete(t: Tag; offst: Offset; count: Short);
DESCRIPTION
Delete removes commands from an object and takes three arguments: a tag t, an offset offst, and an argument specifying the number of commands to remove from the object. Commands are deleted sequentially, beginning with the one addressed by the tag and offst arguments. Tags attached to deleted commands are deleted as well. After a delete command, the command pointer is repositioned at the end of the object; subsequent graphics commands will be appended.
If no object is open for editing when delete is called, the command is ignored.
SEE ALSO
editobj, insert, replace
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c