Delete the specified line.
delete_line();
delete_line( [ChipsId] );
delete_line( "line_id" );
delete_line( "all" );
Depending on the argument, the delete_line command deletes
the current line, the line indicated in a ChipsId
structure or by the line_id, or all lines.
-
(no argument) - the current line is deleted.
-
ChipsId - an optional ChipsId structure containing
values to modify the currency state for the command.
-
line_id - identification tag given to each object that
is created; use this to delete a specific line.
-
all - deletes all lines.
chips> add_line(0, 0, 1, 1);
chips> delete_line();
Create a line, then delete it.
chips> id = ChipsId();
chips> add_line(.1, .3, .9, .3, "id=flat");
chips> add_line(.3, .8, .8, .2, "id=slope");
chips> id.line = "flat";
chips> delete_line(id);
Two lines are created; the second line is
current after it is created. The id.line command sets
the line value of the ChipsId structure to the
first line. That line is then deleted.
chips> add_line(0, 0, 1, 1);
chips> add_line(.1, .3, .9, .3);
chips> delete_line("all");
Two lines are created, then the delete_line command
deletes them both.
- sl.chips
-
add_hline,
add_line,
add_vline,
chipsid,
currency,
current_line,
display_line,
get_line,
hide_line,
move_line,
set_line,
shuffle_line
|