remove Full Description |
|
Syntaxremove shelf-type? shelf-name indexer? Purpose Removes the selected item from the shelf. If no indexer is given, the currently selected item is removed. The shelf-type is an optional herald. When an item is removed from the shelf, the numbers of all items that follow it in the shelf drop by one. However, items with keys keep the same keys. If a keyed item is removed from the shelf, that key can be reassigned to a new shelf item. Unless modified by a Usage example:
process local stream foo variable initial-size 0 set new foo key "Mary" to "Mary had a little lamb.%n" set new foo key "fleece" to "Its fleece was white as snow.%n" set new foo key "school" to "It followed her to school one day%n" set new foo key "rule" to "Which was against the rule.%n" remove foo item 3 remove foo key "fleece" repeat over foo output foo again
|