TABLE OF CONTENTS
::pwtk::nebi::deleteImages
SYNOPSIS
proc ::pwtk::nebi::deleteImages {args} {
USAGE
::pwtk::nebi::deleteImages index1 ?index2 ...? or ::pwtk::nebi::deleteImages { index1 ?index2 ...? }
PURPOSE
Delete index1, index2... images from the POSITIONS card.
First image has index == 1; last image has index == end
Indices can be also specified as end-N, which means N-th image before the last one (e.g., if there are 4 images, end-1 means the 3rd image).
ARGUMENTS
- index1, index2... --- indices of images to delete from the POSITIONS card.
REMARK
This command is not related to the "num_of_images" variable, but to FIRST_IMAGE, INTERMEDIATE_IMAGE..., LAST_IMAGE specs in the POSITIONS card (aka BEGIN_POSITIONS / END_POSITIONS).
SOURCE
foreach index [lsort -decreasing -integer [concat {*}$args]] { ::pwtk::nebi::deleteImage_ $index } }